Skip to content

Install guide should mention installing SASS #67

Closed
@AnalyzePlatypus

Description

@AnalyzePlatypus

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions