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

Cannot resolve module 'sass-loader' #2

Open
Youdaman opened this issue Dec 29, 2016 · 2 comments
Open

Cannot resolve module 'sass-loader' #2

Youdaman opened this issue Dec 29, 2016 · 2 comments

Comments

@Youdaman
Copy link

After installing via npm and adding import Slider from 'vue-bulma-slider' I get the following error:

ERROR in ./~/vue-bulma-slider/src/Slider.vue
Module not found: Error: Cannot resolve module 'sass-loader'

I guess sass-loader (and whatever else) needs to be added to the deps?

@luventa
Copy link
Member

luventa commented Feb 14, 2017

You need to execute npm install sass-loader --save-dev and set the loader configurations.
sass-loader

@FyiurAmron
Copy link

@luventa that's just a workaround. IMO the actual solution would be to add sass-loader to e.g. peerDependencies (or any other dependencies section) in https://github.com/vue-bulma/slider/blob/master/package.json; it's completely possible to use Vue without SASS.

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

No branches or pull requests

3 participants