Sapper blog example
Example markdown-style blog using Sapper.
Links
- DEV article
- YouTube screencast:
Getting started
Clone the repo
npx degit joshnuss/blog-template my-blog
Running the project
Install dependencies and run the project in development mode with:
cd my-blog
yarn
yarn dev
Open up localhost:3000 and start clicking around.
Consult sapper.svelte.dev for help getting started.
Structure
Posts are stored in the posts folder and pages are in the src/routes folder
Production mode and deployment
To generate a production version of your app, run yarn export and then deploy it. You can use any host, for example zeit npm install -g vercel:
yarn export
vercel
License
MIT