The Snowpack, React and ReScript starter template. Based on rescript-lang/rescript-project-template
git clone git@github.com:dielduarte/react-snowpack-rescript-template.git
cd react-snowpack-rescript-template
npm install
start rescript build and watch script
npm run start
In another tab start snowpack dev server
npm run snowpack-start
it will open a local server on port 8080
- Build:
npm run build
- Clean:
npm run clean
- Build & watch:
npm run start
- Start:
npm run snowpack-start
- Build:
npm run snowpack-build