Example markdown-style blog using Sapper.
Clone the repo
npx degit joshnuss/blog-template my-blog
Install dependencies and run the project in development mode with:
cd my-blog
npm install # or yarn
npm run dev
Open up localhost:3000 and start clicking around.
Consult sapper.svelte.dev for help getting started.
Posts are stored in the posts
folder and pages are in the src/routes
folder
To start a production version of your app, run npm run build && npm start
. This will disable live reloading, and activate the appropriate bundler plugins.
You can deploy your application to any environment that supports Node 10 or above. As an example, to deploy to Vercel Now when using sapper export
, run these commands:
npm install -g vercel
vercel