carbon-components-svelte/examples/sapper
2020-09-13 14:31:12 -07:00
..
src v0.12.0 2020-09-13 14:05:51 -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 missing node-sass dependency 2020-09-13 14:31:12 -07:00
README.md v0.12.0 2020-09-13 14:05:51 -07:00
rollup.config.js chore(examples): add sapper set-up 2020-09-07 16:09:49 -07:00
yarn.lock chore(examples): add missing node-sass dependency 2020-09-13 14:31:12 -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).