Skip to content

How to use "scss" in *.vue? #363

@geekingin

Description

@geekingin

I'm using vue2.0 rc.7 and vue-loader 9.5.
I cannot figure out how to use scss in vue file.
If i write like this <style lang="scss">, there will be an error saying Cannot resolve module 'scss' in xxxxx.

image

I can only use scss with<style lang="sass">
However, webstorm's inspection will not accept it.
image

So, how can i use scss syntax directly in *.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions