报错这个:
Module parse failed: Unexpected character '#' (26:0)
You may need an appropriate loader to handle this file type.
需要webpack.config.js中添加
// webpack.config.js
const VueLoaderPlugin = require('vue-loader/lib/plugin')
module.exports = {
// ...
plugins: [
new VueLoaderPlugin()
]
}
Module parse failed: Unexpected character '#' (26:0)
You may need an appropriate loader to handle this file type.
需要webpack.config.js中添加
// webpack.config.js
const VueLoaderPlugin = require('vue-loader/lib/plugin')
module.exports = {
// ...
plugins: [
new VueLoaderPlugin()
]
}
2018-05-21
Error: Cannot find module 'webpack/schemas/WebpackOptions.json'
2018-05-21
plugin 需要添加 new webpack.HotModuleReplacementPlugin()
2018-05-20