We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1、创建一个基于 webpack 模板的新项目 $ vue init webpack myvue 2、在当前目录下,安装依赖 $ cd myvue $ npm install 3、安装sass的依赖包 npm install --save-dev sass-loader //sass-loader依赖于node-sass npm install --save-dev node-sass 4、在build文件夹下的webpack.base.conf.js的rules里面添加配置 { test: /.sass$/, loaders: ['style', 'css', 'sass'] } 5、在APP.vue中修改style标签
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1、创建一个基于 webpack 模板的新项目
<style lang="scss"> </style>$ vue init webpack myvue
2、在当前目录下,安装依赖
$ cd myvue
$ npm install
3、安装sass的依赖包
npm install --save-dev sass-loader
//sass-loader依赖于node-sass
npm install --save-dev node-sass
4、在build文件夹下的webpack.base.conf.js的rules里面添加配置
{
test: /.sass$/,
loaders: ['style', 'css', 'sass']
}
5、在APP.vue中修改style标签
The text was updated successfully, but these errors were encountered: