https://github.com/antoinerey/vue-component
cd vue-component && npm link
cd vue-component-app && npm link vue-component
npm run dev
The build should pass without any warning and the app should run.
The build emits some warning about the default export
not being found. And the application crashes.
I'm trying to develop and publish a component to NPM. While testing it, I wanted to ensure it was working into a Nuxt application.
Note that if I install the exact same package from NPM, it works as expected. So I'm thinking this issue is related to symlinks and how Babel transformations are applied.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6947">#c6947</a>)</em></sub></div>