mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 05:21:48 +08:00
🏂 Add svelte-loader to docs for Svelte guide
This commit is contained in:
parent
47868b01f8
commit
8fe6f93b36
@ -36,6 +36,15 @@ Make sure that you have `@babel/core`, and `babel-loader` in your dependencies a
|
||||
npm install babel-loader @babel/core --save-dev
|
||||
```
|
||||
|
||||
### svelte-loader
|
||||
|
||||
You'll also need to install `svelte-loader` if you haven't already.
|
||||
|
||||
```sh
|
||||
|
||||
npm install svelte-loader --save-dev
|
||||
```
|
||||
|
||||
## Step 2: Add a npm script
|
||||
|
||||
Then add the following NPM script to your `package.json` in order to start the storybook later in this guide:
|
||||
|
Loading…
x
Reference in New Issue
Block a user