mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-17 12:24:55 +00:00
create blog posts from markdown files
This commit is contained in:
27
posts/how-to-use-sapper.md
Normal file
27
posts/how-to-use-sapper.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user