Overview
Going from development to production can be quite a task. To help overcome those tasks, we've created a starter template that should help you go from prototyping to deployment in 5.3 seconds.
The starter template features the following - all are optional.
- Dynamic Imports
- Prerendering
- SSR
- Quick deployments
Starter template structure
. | |
├─ src/ | Source. This is for all your handcrafted code. |
│ └─ pages/ | Layouts and pages. |
├─ static/ | Files that don't change. Images, CSS, etc. |
│ └─ __index.html | Entry file. Edit to your needs. |
├─ dist/ | Distributables. This is where your built files are output. |
└─ script/ | Scripts for deployments |
Build and deploy
npm run build
npm run deploy:now
npm run build
npm run deploy:now
This is a great way to get started, but in the long run, a CI approach might be better suited and we recommend having a look at the deployment section.
To tweak your build or find out what's included, have a look at the Build section.
Writing good documentation that is up-to-date is difficult. If you notice a mistake, help us out.