-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
2.0.1-32920211122002之后的版本无法使用<style lang="scss"> #3129
Comments
同样的问题 |
看了一下uni-app源码,是因为直接把sass-loader@8.0.2的源码直接放在uni-app/packages/vue-cli-plugin-uni/packages/里了。 那这样的话,uni-app/packages/vue-cli-plugin-uni/lib/options.js里这段代码还有什么意义? uni-app/packages/vue-cli-plugin-uni/lib/options.js Lines 89 to 94 in 1127452
|
暂时将sass-loader降回8.0.2解决 |
我降了还是不行 |
@lauhuawei 删掉自己装的试试,这个相当于内置了8.0.2的sass-loader。 |
同样的问题,官方有解决方案么? |
👍 删掉 package.json 里的 sass-loader,只保留 sass,npm install 之后运行正常了。 |
问题描述
2.0.1-32920211122002之后的版本无法使用<style lang="scss">
复现步骤
[复现问题的步骤]
[或者可以直接贴源代码]
正确编译
实际结果
package.json
The text was updated successfully, but these errors were encountered: