npm install
npm run dev
- runs development servernpm run build
- builds the project
- ESBUILD
- ESLINT && PRETTIER
- ROUTING
- DEV SERVER
- BUILD SCRIPT
This template uses a file-system based router
- Add your page in
/js/pages
folder - Routes are created on build time and will have the same name as the file
e.g.
├── pages
├── home.js
└── test
└── other.js
Will create the following routes:
/home
/test/other