carbon-components-svelte/examples/webpack/README.md
Eric Liu 99f1dd2c34 chore(examples): add webpack example set-up
The set-up uses the pre-compiled CSS.
2020-09-06 17:40:30 -07:00

23 lines
No EOL
434 B
Markdown

# webpack
> Example webpack set-up using pre-compiled CSS shipped with `carbon-components-svelte`.
## Getting started
Quickly scaffold a new project using [degit](https://github.com/Rich-Harris/degit):
```sh
npx degit ibm/carbon-components-svelte/examples/webpack svelte-app
cd svelte-app
yarn install
```
## Available scripts
### `yarn dev`
Starts the app in development mode.
### `yarn build`
Builds the app for production.