Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

<style lang="sass">时scss语法报错,必须把lang="scss",才不报错? #58

Open
qianniuc opened this issue Aug 12, 2016 · 3 comments

Comments

@qianniuc
Copy link

scss与sass语法不同,但说到底是sass的一部分,由sass发展而来,能不能lang="sass"时,顺便检查一下是否是scss,而不是直接报错?

@springeye
Copy link
Owner

原则的如果你你一个*.sass文件里写scss不报错的话这里就不会报错。

@qianniuc
Copy link
Author

qianniuc commented Aug 12, 2016

这是 lang="sass" ,报错
image
改成scss,就不报错了
image
我是在 *.vue 文件里写的 @Henjue

@Ashley2014
Copy link

Ashley2014 commented Nov 4, 2016

我也遇到这个问题,我觉得这个插件是对的,本身sass和scss是两种语法,但是vue-loader里scss要写sass,不然报错,写lang='sass'能编译,但语法高亮就跪了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants