npm install less less-loader --save-dev
vue-cli+webpack 搭建项目路径
/build/webpack.base.conf.js
module:{
rules:[
{
test:/\.less$/,
loader:'style-loader|css-loader|less-loader'
}
]
}
npm install less less-loader --save-dev
vue-cli+webpack 搭建项目路径
/build/webpack.base.conf.js
module:{
rules:[
{
test:/\.less$/,
loader:'style-loader|css-loader|less-loader'
}
]
}