Vueロードシングルファイルvue-loaderを使用してvue-loader was used without the corresponding pluginをエラーメッセージします.Make sure to include Vue
1782 ワード
bug
エラーメッセージは次のとおりです.
理由:
解決策は次のとおりです.
エラーメッセージは次のとおりです.
vue-loader was used without the corresponding plugin. Make sure to include
VueLoaderPlugin in your webpack config.
理由:
https://vue-loader.vuejs.org/migrating.html#a-plugin-is-now-required
解決策は次のとおりです.
// webpack.config.js
const VueLoaderPlugin = require('vue-loader/lib/plugin')
module.exports = {
// ...
plugins: [
new VueLoaderPlugin()
]
}