carbon-components-svelte/examples/sapper/README.md
2020-09-13 13:39:36 -07:00

33 lines
563 B
Markdown

# svite
> Example set-up using [Sapper](https://github.com/sveltejs/sapper).
## Getting started
Scaffold a new project using [degit](https://github.com/Rich-Harris/degit):
```sh
npx degit ibm/carbon-components-svelte#sapper svelte-app
cd svelte-app
yarn install
```
## Available scripts
### `yarn dev`
Runs the app in development mode.
### `yarn build`
Builds the app for production (SSR).
### `yarn export`
Builds the app for production and statically exports the app.
### `yarn start`
Runs the app in production (`yarn build` must be run first).