diff --git a/README.md b/README.md index a3a9a1f..8e9b249 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file diff --git a/src/main/core.cljs b/src/main/core.cljs index d24b32f..aa28e90 100644 --- a/src/main/core.cljs +++ b/src/main/core.cljs @@ -2,7 +2,7 @@ -(defn test +(defn mytest "" [] "Hello world!") \ No newline at end of file