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

Auto Import Types Not Resolving in latest v1.11.0 #373

Open
w3cj opened this issue Mar 19, 2025 · 0 comments
Open

Auto Import Types Not Resolving in latest v1.11.0 #373

w3cj opened this issue Mar 19, 2025 · 0 comments

Comments

@w3cj
Copy link

w3cj commented Mar 19, 2025

The latest version v1.11.0 does not properly resolve the auto imported type of Icon

With the previous v1.10.3 - the auto imported Icon component shows a type error if missing props and also shows available props in the VS Code context window:

Image

With v1.11.0 - the Icon component does not show any type errors if missing props and the available props are not displayed by VS Code:

Image

Using dependencies:

{
    "@nuxt/icon": "1.11.0",
    "nuxt": "^3.16.0",
    "vue": "^3.5.13",
    "vue-router": "^4.5.0"
}

With latest nuxt config:

export default defineNuxtConfig({
  compatibilityDate: '2024-11-01',
  devtools: { enabled: true },
  modules: ['@nuxt/icon']
})
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

1 participant