NuxtN
Nuxt10mo ago
14 replies
Nebel

Migrate NuxtUI 2 to 3

I have this error when I migrate NuxtUI v2 to v3

[plugin:vite:vue] [@vue/compiler-sfc] Failed to resolve extends base type.
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore / before it, for example:

interface Props extends /
@vue-ignore */ Base {}

Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.

D:/mytv-backoffice/node_modules/@nuxt/ui/dist/runtime/components/App.vue
22 | import { ConfigProvider, TooltipProvider, useForwardProps } from 'reka-ui'
23 | import { reactivePick } from '@vueuse/core'
24 | import { localeContextInjectionKey } from '../composables/useLocale'
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 | import UToaster from './Toaster.vue'
| ^^^^^^^^^^^^^^^^^^^^^^^
26 | import UOverlayProvider from './OverlayProvider.vue'
Was this page helpful?