Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named export 'VLazyTeleport' not found. #2

Open
dengsong666 opened this issue May 14, 2024 · 1 comment
Open

Named export 'VLazyTeleport' not found. #2

dengsong666 opened this issue May 14, 2024 · 1 comment

Comments

@dengsong666
Copy link

ERROR [nuxt] [request error] [unhandled] [500] Named export 'VLazyTeleport' not found. The requested module 'file://E:/Code/Nuxt3/my-blog/node_modules/.pnpm/vueuc@0.4.58_vue@3.4.27/node_modules/vueuc/lib/index.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

@monsterkai233
Copy link

monsterkai233 commented May 30, 2024

try nuxt.config.ts addbuild: { transpile: process.env.NODE_ENV === 'production' ? ['vueuc'] : [] }, or @css-render/* and css-render packages' version satisfies >=0.15.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants