Skip to content

help: Nuxt auto-import doesn't display ionic component types #496

Description

@KiddoV

📚 What are you trying to do?

The auto-import component should point to an ionic type right?

type

But VSCode only assume it is a any type.

🔍 What have you tried?

No response

ℹ️ Additional context

//index.vue
<script setup lang="ts">definePageMeta({ alias: ["/", "/overview"],})</script>
<template>
<ion-pagetranslucent>
<ion-toolbar>
<ion-title>Overview</ion-title>
</ion-toolbar>
</ion-page>
</template>
//tsconfig.json
{
// https://nuxt.com/docs/guide/concepts/typescript"extends": "./.nuxt/tsconfig.json",
"compilerOptions": {
"baseUrl": "",
"types": []
},
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions