diff --git a/README.md b/README.md index 4fff4b4..020e294 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ A Clojure library designed to ... well, that part is up to you. lein build-dev ``` -This will open up a browser for you. The default page will open up a repl. You can also view http://localhost:9500/test.html to load the tests in a test runner. - -Then go to http://localhost:3449/cards.html +This will open up the default page which will connect a repl. Also noteworthy: +- http://localhost:9500/devcards.html +- http://localhost:9500/test.html ## License diff --git a/dev-resources/public/cards.html b/dev-resources/public/devcards.html similarity index 75% rename from dev-resources/public/cards.html rename to dev-resources/public/devcards.html index 1084cb7..5448e9d 100644 --- a/dev-resources/public/cards.html +++ b/dev-resources/public/devcards.html @@ -6,6 +6,6 @@ - + - \ No newline at end of file + diff --git a/dev.cljs.edn b/dev.cljs.edn index 988e82e..80466da 100644 --- a/dev.cljs.edn +++ b/dev.cljs.edn @@ -1,4 +1,4 @@ ^{:extra-main-files {:devcards {:main react-hitch.devcards-runner} :test {:main react-hitch.test-runner}} - :watch-dirs ["src" "test"]} + :watch-dirs ["src" "test" "devcards"]} {:main react-hitch.qui-tracker} diff --git a/devcards/react_hitch/devcards_runner.cljs b/devcards/react_hitch/devcards_runner.cljs new file mode 100644 index 0000000..39c1065 --- /dev/null +++ b/devcards/react_hitch/devcards_runner.cljs @@ -0,0 +1,6 @@ +(ns react-hitch.devcards-runner + (:require [devcards.core] + )) + +(devcards.core/start-devcard-ui!) + diff --git a/test/react_hitch/devcards_runner.cljs b/test/react_hitch/devcards_runner.cljs deleted file mode 100644 index f1243ef..0000000 --- a/test/react_hitch/devcards_runner.cljs +++ /dev/null @@ -1,6 +0,0 @@ -(ns ^:figwheel-always react-hitch.devcards-runner - (:require [react-hitch.curator.react-hook-test] - [react-hitch.qui-tracker-test])) - - -