摘要:
1.安装: npm i vue-loader vue-template-compiler -D 2、配置webpack.config.js文件: { test:/\.vue$/, loader: 'vue-loader' } 3、如果报错如下: 则降低loader版本,npm install 4、创 阅读全文
摘要:
1.执行命令: npm install vue --save 2.配置webpack.config.js文件; 配置完成即可正常使用vue 阅读全文
摘要:
1.安装: npm install babel-loader@7 babel-core babel-preset-es2015 2.配置webpack.config.js { test: /\.js$/, //exclude:排除 exclude: /(node_modules|bower_comp 阅读全文