mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-14 03:04:40 +00:00
27 lines
451 B
Markdown
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. |