compare/webpack.config.js

17 lines
291 B
JavaScript
Raw Normal View History

2020-03-01 10:02:33 +08:00
const VueLoaderPlugin = require('vue-loader/lib/plugin')
module.exports = {
module: {
rules: [
// ... other rules
{
test: /\.vue$/,
loader: 'vue-loader'
}
]
},
plugins: [
// make sure to include the plugin!
new VueLoaderPlugin()
]
}