🏂 Add svelte-loader to docs for Svelte guide

This commit is contained in:
himynameisdave 2019-11-28 11:55:02 -08:00
parent 47868b01f8
commit 8fe6f93b36
No known key found for this signature in database
GPG Key ID: CF799D9C390BE444

View File

@ -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: