Inspired by this post of Wait But Why and this video by Kurzgesagt
Install the dependencies...
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5000.
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start
. This uses sirv.
Merge changes into branch pages-build
, run npm run pages
and push.