mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore(examples): add webpack example set-up
The set-up uses the pre-compiled CSS.
This commit is contained in:
parent
26f383360f
commit
99f1dd2c34
11 changed files with 5664 additions and 0 deletions
23
examples/webpack/README.md
Normal file
23
examples/webpack/README.md
Normal 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.
|
Loading…
Add table
Add a link
Reference in a new issue