Built for this tutorial.
Install the dependencies and run the project:
npm install # or yarn
npm run dev
You should see the project running on localhost:3000.
Run:
npm run export
Your compiled project will now sit in __sapper__/export
.
If you'd like to host your static build on Netlify, it's extremely simple:
- Log in to your Netlify account
- Create a new site from Git and select your repository
- Select your branch
- Set the build command as
npm run export
- Set the publish directory as
__sapper__/export