chore(examples): add webpack example set-up

The set-up uses the pre-compiled CSS.
This commit is contained in:
Eric Liu 2020-09-06 17:40:30 -07:00
commit 99f1dd2c34
11 changed files with 5664 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# 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.