You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think vue-loader 15.x is the issue, the javascript code is being parsed as a css file for some reason. Everything used to work perfectly prior to vue-loader 15.x
I am trying to make a library for vue and push to NPM.
Vue Loader 15 has several breaking changes (that's why we increased the major version) and please make sure you have followed the migration guide. After that, if you still can't get things working and think it's a bug, you may need to provide a minimal repo that reproduces the issue since it requires a build step (we can't figure out the problem from the fiddle alone).
Version
15.7.0
Reproduction link
https://jsfiddle.net/32nyaxoj/
Steps to reproduce
npm run build
What is expected?
to build
What is actually happening?
I think vue-loader 15.x is the issue, the javascript code is being parsed as a css file for some reason. Everything used to work perfectly prior to vue-loader 15.x
I am trying to make a library for vue and push to NPM.
Until around last year, I used this guide of mine https://stackoverflow.com/questions/47754244/how-to-create-and-publish-a-vuejs-component-on-npm/47757050#47757050 to build and publish packages, but now with the new vue-loader, everything is broken, been trying to fix every possible error, and all I get one error after another.
here is a sample of an error:
The Hello.vue file simple contains an HTML tag with and <script> simplified example below
The text was updated successfully, but these errors were encountered: