0👍
I’ve found the answer in the Vue.js forum: https://forum.vuejs.org/t/export-default-imported-as-components-was-not-found-in-mylib/63905
The problem was that I was adding the dependency with a local path, namely:
$ npm install ../component
And in this case, npm is creating a symlink in node_modules
. It seems that some babel plugin doesn’t really like symlinks.
After I’ve changed to use git:
$ npm install git+file://localhost/path/to/component
Everything works fine.
- [Vuejs]-How to load json data in nuxt.js
- [Vuejs]-How can I verify token google recaptcha 3 on adonis js?
Source:stackexchange.com