i got a fresh laravel installation, everything compile well but when I install vuex or vue router through npm, compiling wont work anymore, i got this error:
Error: [vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
The vue and vue-template-compiler module version must be the same in your package.json.
This was my code:
"devDependencies": {
"vue": "^2.5.17",
"vue-loader": "^15.5.1",
"vue-template-compiler": "^2.5.21"
},
I changed the vue version to 2.5.21, then ran npm update to update the base version of VueJS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With