Fork me on GitHub
#re-frame
<
2018-01-01
>
ErhardtMundt00:01:48

I have a re-frame project and I tried to build the jar file with lein uberjar

ErhardtMundt00:01:55

but when I run the jar the jetty instance only serves index.html, all the other files (css, app.js, etc) are not served (I get a 404)

souenzzo15:01:06

you probably need to move the output to resources/public/app.js

gklijs15:01:49

@erhardt.mundt if there is no clojure back-end in your project, it makes little sense to build the uberjar. Depending on the template used you want to run something like ‘lein cljsbuild once min’ and put the build js, together with the html/css in some web server.