becem-gharbi / nuxt-naiveui

Unofficial Naive UI module for Nuxt
https://nuxt-naiveui.bg.tn
MIT License
157 stars 20 forks source link

auto-importing encountered an error #81

Open typed-sigterm opened 2 days ago

typed-sigterm commented 2 days ago

I finally find this is better than nuxtjs-naive-ui ❤️

After upgrading to 2.0.0-rc.1 with Vue 3.5 + Nuxt 3.13, auto-importing stops working:

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.pnpm/naive-ui@2.39.0_vue@3.5.6/node_modules/naive-ui/lib/index.js?v=18f61aba' does not provide an export named 'NLayoutFooter'

Reproduction: https://stackblitz.com/edit/nuxt-demo-300f7d0

becem-gharbi commented 18 hours ago

Hi, thanks for reporting this issue. It seems to be a regression on nuxt@3.13.2 related to resolving component's path.