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
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
This is because vue-pdf exports the raw Vue file, which esbuild can't handle unless there's a esbuild plugin that handles Vue files. Until plugin-vue supports something like vitejs/vite#6801 (experimental), vue-pdf should be publishing compiled JS files. Another workaround is to optimizeDeps.exclude: ["vue-pdf"] so that the Vue files are processed by the Vite dev server. Its transitive deps may need to be re-included (docs).
Describe the bug
after the import component library, prompt error,
error message:
@xx/up-ui is independent research and development components
Reproduction
https://github.com/WongYuYe/vite-vue2-demo
vite-vue2-demo import @xx/up-ui components
@xx/up-ui is research and development of internal component library
@xx/up-ui vue: 2.xx
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: