update readme

shadow-cljs
jem 4 years ago
parent 2b3c590828
commit 8628a206e8

@ -4,28 +4,8 @@ Embeds mastodon timline into a html page. Uses JS, no intermediate server requir
# Setup
To setup a basic luminus project:
* lein new luminus shipping-cljs +kee-frame
Start a leiningen repl and run fighwheel and let it connect to your application:
1) lein repl
* user=> (start)
2) lein figwheel
3) Open http://localhost:3000/ in Browser
4) figwheel should have connected to your application
sudo npm i -g npx
# Development
lein repl does not seem to work with clojurescript. Lein figwheel is needed to work with clojurescript.
E.g. in your figwheel repl:
app:cljs.user=> (in-ns 'masto-embed.routing)
app:masto-embed.routing=> routes
But will lead to Unable to resolve symbol: routes in this context
in lein repl.
npx shadow-cljs node-repl

@ -2,7 +2,7 @@
(defn test
(defn mytest
""
[]
"Hello world!")
Loading…
Cancel
Save