// webpack.config.js const VueLoaderPlugin = require('vue-loader/lib/plugin') module.exports = { // ... plugins: [ new VueLoaderPlugin() ] }
官方文档:https://vue-loader.vuejs.org/zh/migrating.html