How to specify which ClojureScript file to include in a particular page?
Let's say now I have two pages, home
and login
, and I want only the compiled js from (ns foo.home)
to be included in the home
page, and only the compiled js from (ns foo.login)
to be included in the login
page, how can I do this?
Or, is it a rule that the whole site must use one js file that is compiled by cljsbuild
?