mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
23 lines
No EOL
434 B
Markdown
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. |