- Install (if you don't have them):
- Run:
npm start
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.npm run build
— builds minified project for production
- Learn:
public/
dir is fully auto-generated and served by HTTP server. Write your code inapp/
dir.- Place static files you want to be copied from
app/assets/
topublic/
.
To generate production files simply run npm run build
, then copy files at public/
folder to your production server.