Skip to content

Instantly share code, notes, and snippets.

@jesraygarciano
Last active July 3, 2018 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesraygarciano/8e1b13085fbcda94807bf256acc45652 to your computer and use it in GitHub Desktop.
Save jesraygarciano/8e1b13085fbcda94807bf256acc45652 to your computer and use it in GitHub Desktop.
Vue CLI Errors and Fixes
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 webpack@3.11.0
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