New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue-loader, webpack "need an appropriate loader" for templates in .vue files with vue loader 15.0.10 #321
Comments
Hi @sumitpateltech, Are you using Encore? Your Two remarks there though:
|
it's working fine with vue-loader@^14.2.2 but it's not working in vue-loader@^15.0.10 event I am not using Encore. |
@sumitpateltech: You should probably open an issue on the following project then: https://github.com/vuejs/vue-loader I'm closing this one since this is unrelated to Encore. |
@dgray16 I'm getting exactly the same issue after upgrading to webpack 4.29 |
Is this really related to this issue? Do you also have the "You may need an appropriate loader to handle.vue files" message? If that's not the case, could you open another issue with as many details as possible? (exact error message, webpack.config.js file, versions of your dependencies, etc.) |
I think that's probably the same issue than this one: webpack/webpack#8656 You could try the workaround given by Sokra in the following comment: webpack/webpack#8656 (comment) |
for me, reinstalling babel and webpack fixed this issue. npm install babel-core babel-loader babel-preset-es2015 webpack --save-devnpm install babel-core babel-loader babel-preset-es2015 webpack --save-dev |
I'm also facing this same issue, i've tried the suggested solution by installing vue-loader@14.2.2 but it still throws up the same error:
Here's my webpack.config.js file:
Here's my package.json:
|
@RogueCode007 Vue files work for me out of the box with
Why are you modifying webpack configuration directly instead of via Encore? |
I am facing issue while running vue app with webpack.
Error :
My dependencies are
}
In my webpack.config.dev.js
The text was updated successfully, but these errors were encountered: