Closed
Description
What happens?
ToggleButton
's CSS is written in SCSS. (Source here).
ToggleButton
fails upon installation if sass-loader
has not been installed in the vue-cli
build:
ERROR Failed to compile with 1 errors
This dependency was not found:
./node_modules/vue-js-toggle-button/src/Button.vue
Module not found: Error: Can't resolve 'sass-loader' in '/node_modules/vue-js-toggle-button/src'
What should happen?
- The docs should mention installing the missing dependencies, as mentioned in the
vue-cli
docs here:npm install sass-loader node-sass --save-dev
Fix
The docs should be updated with the missing step.
Metadata
Metadata
Assignees
Labels
No labels