Last active
July 3, 2018 02:16
-
-
Save jesraygarciano/8e1b13085fbcda94807bf256acc45652 to your computer and use it in GitHub Desktop.
Vue CLI Errors and Fixes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: | |
./src/pages/Component.vue | |
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config | |
Solution: | |
Degrade webpack: npm i [email protected] | |
npm install | |
then > add Vue loader to Webpack.mix.js | |
npm install | |
./src/pages/Component.vue | |
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config | |
-add: | |
// webpack.config.js | |
const VueLoaderPlugin = require('vue-loader/lib/plugin') | |
module.exports = { | |
// ... | |
plugins: [ | |
new VueLoaderPlugin() | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment