carbon-components-svelte/examples/sapper
2021-01-27 15:02:02 -08:00
..
src chore(deps-dev): upgrade prettier-plugin-svelte (#498) 2021-01-27 15:02:02 -08: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): use JS import for stylesheet 2020-09-13 14:45:33 -07:00
README.md v0.12.0 2020-09-13 14:05:51 -07:00
rollup.config.js chore(examples): use JS import for stylesheet 2020-09-13 14:45:33 -07:00
yarn.lock chore(examples): use JS import for stylesheet 2020-09-13 14:45:33 -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).