- Get dependencies
$ yarn
- Start dev server, all changes will be hot-reloaded
$ yarn next
-
Pull Requests will trigger a build and create a preview URL automatically
-
You can also export the static site doing
$ yarn next build && yarn next export
⚠️ To allow external linking, your static hosting should to rewrite/redirect requests to dynamic paths e.g./1x01/4583
to/[chapter]/[scene].html?chapter=1x01&scene=4583
.now.sh
does it automatically.