Skip to content

Quickly bootstrap ClojureScript + shadow-cljs + Reagent

Notifications You must be signed in to change notification settings

chr15m/create-shadowfront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a nodejs initializer to quickly get a ClojureScript + shadow-cljs + Reagent project up and running in one command.

How to use it:

npm init shadowfront YOUR-APP-NAME

Then you can start the server:

cd YOUR-APP-NAME
make watch

Once shadow-cljs finishes compiling the project for the first time open these pages in your browser:

(tip: use (tap> ...) in your code to have a value show up in the "inspect" pane.

Then open src/YOUR-APP-NAME/core.cljs in your editor and start hacking. 👍

Then you can commit your changes as git init has already been run:

git add .
git commit -m "Initial commit."

Build

To make a static release that you can publish on a hosting service:

make build

This will copy everything in public/ to the build folder and also build the main js artifact in there.

About

Quickly bootstrap ClojureScript + shadow-cljs + Reagent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published