Level 88
Can you show your app.js file? It seems you're not using vue-loader correctly there!
I try to use vue-loader with webpack.mix.js without success
My configuration
const mix = require('laravel-mix');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
mix
.webpackConfig({
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader'
}
]
},
plugins: [
new VueLoaderPlugin()
]
})
.js('resources/js/app.js', 'public/js')
.extract(['vue', 'vee-validate'])
;
The error I get is
Error: [VueLoaderPlugin Error] No matching use for vue-loader is found.
Make sure the rule matching .vue files include vue-loader in its use.
Some support!
Mix already uses vue-loader. You don't need to manually pull it in.
Please or to participate in this conversation.