carbon-components-svelte/examples/sapper
2020-09-13 13:39:36 -07:00
..
src chore(examples): add sapper set-up 2020-09-07 16:09:49 -07:00
static chore(examples): add sapper set-up 2020-09-07 16:09:49 -07:00
.gitignore chore(examples): add sapper set-up 2020-09-07 16:09:49 -07:00
package.json chore(examples): add sapper set-up 2020-09-07 16:09:49 -07:00
README.md docs: update guidance on examples, usage 2020-09-13 13:39:36 -07:00
rollup.config.js chore(examples): add sapper set-up 2020-09-07 16:09:49 -07:00
yarn.lock chore(examples): add sapper set-up 2020-09-07 16:09:49 -07:00

svite

Example set-up using Sapper.

Getting started

Scaffold a new project using degit:

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).