Closed alexandreDavid closed 3 years ago
Thanks for submitting this issue! Due to our limited time, we ask you to include a reproduction link to a minimal full reproduction of your problem (for example in a GitHub repository) so we can find what is causing the issue. Thank you for your understanding!
I found my issue, on my tests in local, I had a node_modules with my lib.
Version
5.0.0-alpha.4
Environment info
Steps to reproduce
Building a vite app and defining the mode lib with the standards of the doc Building a vue-cli app with Vue3 presets Including the lib to the app
What is expected?
The lib components appear on the screen
What is actually happening?
Nothing appears, just some console warnings : runtime-core.esm-bundler.js?7572:38 [Vue warn]: resolveDirective can only be used in render() or setup().
runtime-core.esm-bundler.js?7572:38 [Vue warn]: withDirectives can only be used inside render functions.
[Vue warn]: Invalid VNode type: Symbol(Fragment) (symbol) at
at
The lib works perfectly with a second Vite built project as App This lib depends on Primevue component framework. When I don't use it, it works everywhere. I tried with Vue-cli 4.5.11 and 5.x, same behaviour