We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
##error message
ERROR(vue-tsc) Property 'nuxtIcon' does not exist on type 'AppConfig'. const props = defineProps({ name: { type: String as PropType<keyof AppConfig['nuxtIcon']['aliases'] | (string & {})>, ^^^^^^^^^^ required: true },
##code
export default defineNuxtConfig({ srcDir: 'src', ssr: false, typescript: { typeCheck: true }, modules: ['@nuxtjs/tailwindcss', 'nuxt-icon'] })
The text was updated successfully, but these errors were encountered:
Should be fixed by ^0.2.10 ; could you try it? :)
Sorry, something went wrong.
Error is still occuring on nuxt 3.1.1:
ERROR(vue-tsc) Property 'nuxtIcon' does not exist on type 'AppConfig'. FILE /node_modules/.pnpm/nuxt-icon@0.2.10/node_modules/nuxt-icon/dist/runtime/Icon.vue:34:40 32 | const component = computed(() => nuxtApp.vueApp.component(iconName.value)) 33 | const sSize = computed(() => { > 34 | const size = props.size || appConfig.nuxtIcon?.size || '1em' | ^^^^^^^^ 35 | if (String(Number(size)) === size) { 36 | return `${size}px` 37 | }
Successfully merging a pull request may close this issue.
##error message
ERROR(vue-tsc) Property 'nuxtIcon' does not exist on type 'AppConfig'.
const props = defineProps({
name: {
type: String as PropType<keyof AppConfig['nuxtIcon']['aliases'] | (string & {})>,
^^^^^^^^^^
required: true
},
##code
The text was updated successfully, but these errors were encountered: