问题我在用Vue-cli 脚手架开发中,想使用compass作为css预编译器, 于是我做了如下操作:npm install compass --save-dev先安装compass的预编译器然后在.vue文件中设置了 <style>设置了 lang属性 <style>但是在编译器中报了错误Currently the sass-loader does not follow all of the webpack loader guidelines. The general problem is that the entry scss-file is passed to node-sass which does pretty much the rest. Thus @import statements inside your scss-files cannot be resolved by webpack's resolver. However, there is an issue for that missing feature in libsass.找了Vue的官方文档, 和Vue-lic的 readme 还有issue 都没有找到怎么切换css预编译语言的配置方案 ,故在此寻求我步骤中的错误,以及解决方案
添加回答
举报
0/150
提交
取消