无标题文章

  • 创建一个vue项目
vue init webpack AwesomeProject
  • 去掉eslint-loader检查,build/webpack.base.conf.js
   {
        test: /\.(js|vue)$/,
        loader: 'eslint-loader',
        enforce: 'pre',
        include: [resolve('src'), resolve('test')],
        options: {
          formatter: require('eslint-friendly-formatter')
        }
     },
  • 安装sass-loader
npm i node-sass sass-loader sass-style -D
#或者用yarn
yarn add node-sass ssass-loader sass-style

你可能感兴趣的:(无标题文章)