- Clone this repo:
git clone [email protected]:avidrucker/todos-pwa-mvp-cljs.git
- Build the project:
npm install
- Run the app:
npx shadow-cljs watch app
- Navigate in your browser to http://localhost:8080/
This app was bootstrapped by running npx create-cljs-project my-todo-app
, then npm install react react-dom
, by adding reagent
to the shadow-cljs.edn
dependencies, by configuring the build configuration (also in shadow-cljs.edn
), and by requiring reagent.core
, reagent.dom
, and the clojure.string
libraries in core.cljs
.
This app was "transformed" into a PWA by adding service-worker.js
, by adding a service worker install script into index.html
, by adding a manifest.json
, by referencing the manifest.json
file in the head of index.html
, and by adding some PNG icons.