Files
sapper-template/posts/how-to-use-sapper.md
2018-07-27 14:28:32 -04:00

27 lines
451 B
Markdown

---
title: How to use Sapper
pubdate: 2018-07-21
---
## Step one
Create a new project, using [degit](https://github.com/Rich-Harris/degit):
```
npx degit sveltejs/sapper-template my-app
cd my-app
npm install # or yarn!
npm run dev
```
## Step two
Go to [localhost:3000](http://localhost:3000). Open `my-app` in your editor. Edit the files in the `routes` directory or add new ones.
## Step three
...
## Step four
Resist overdone joke formats.