-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
[Feature]: nuxt-layer ts compatible #1239
Comments
Hmmm I believe Nuxt should detect the extended layer's types right? Wondering if |
yes, nuxt-image is typed correctly. {
NuxtImage: typeof import("../base/nodemules/nuxt/image/.........")['default']
DropdownMenu: typeof import("radix-vue")[‘DropdownMenu‘]
} And I have tried other ui libary like element-plus, it cant be typed correctly yet. But the nuxt-ui is typed right as same as nuxt-image. |
Hmm this is something needs investigation, however meanwhile you should be able to workaround this by installing |
I saw a duplicated comment and deleted it I thought it would not leave a mark, sorry 🙏 |
Describe the feature
I have a project that extends other layer using radix-vue.
In my-project, the ts-server can't recognize the type of radix-vue component from base-project:
This is caused by incorrect module path, ts-server can't find radix-vue in my-project
According to nuxt-ui, the following fix may help this:
I'm not sure if it's causing other issues, may other can help this.
Additional information
The text was updated successfully, but these errors were encountered: