This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-25
Channels
- # announcements (1)
- # beginners (70)
- # boot (2)
- # cider (12)
- # cljdoc (19)
- # clojure (25)
- # clojure-austin (1)
- # clojure-nl (2)
- # clojure-uk (9)
- # clojurescript (24)
- # cursive (7)
- # datomic (8)
- # figwheel-main (22)
- # flambo (1)
- # fulcro (16)
- # funcool (3)
- # jobs (1)
- # juxt (3)
- # off-topic (39)
- # reagent (4)
- # reitit (4)
- # ring (2)
- # shadow-cljs (90)
- # specter (11)
- # sql (2)
- # testing (2)
Hi I am trying to have a home page "/" that has different css and js than the rest of my reagent app. In handler.clj I've defined different [:head] sections for different routes. But it seems the first route I take, it will use that particular definition of the [:head] and thus its js and css, thoughout the app.
(defroutes routes
(GET "/" [] (home-page))
(GET "/admin" [] (admin-page))
(GET "/apply" [] (applicant-page))
(GET "/login" [] (applicant-page))