Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add npm install instructions to readme #83

Merged
merged 1 commit into from
Sep 4, 2020
Merged

Conversation

rix1
Copy link
Contributor

@rix1 rix1 commented Apr 23, 2019

What? Add install instructions.
Why? I wasn't paying attention when I installed the loader, and didn't realise svelte was a peer dependency. This should make it more clear ✌️

Add install instructions.
```
npm install --save svelte svelte-loader
```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Svelte-loader requires svelte as a peer dependency, if you haven't already, run `npm install svelte`

## Install

```
npm install --save svelte svelte-loader
Copy link

@AlbertMarashi AlbertMarashi May 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
npm install --save svelte svelte-loader
npm install --save svelte-loader

@AlbertMarashi
Copy link

I feel like this is more clear, as many people may already have svelte installed

@benmccann benmccann changed the title Update README.md Add npm install instructions to readme Sep 4, 2020
@benmccann
Copy link
Member

I think it's okay as is. It's more concise and won't install a duplicate version

@benmccann benmccann merged commit 929eebe into sveltejs:master Sep 4, 2020
syvb added a commit to syvb/svelte-loader that referenced this pull request Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants