Development time: 3h of completely working PoC, 5h of css, animations, improving code quality.
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, which is included in your package.json's dependencies
so that the app will work when you deploy to platforms like Heroku.
Install vercel
if you haven't already:
npm install -g vercel
Then, from within your project folder:
cd public
vercel deploy --name my-project