Skip to content

[Vue 2.7] types of built-in components are unknown #2540

@kingyue737

Description

@kingyue737

image

Reproduction:

pnpm create vue@2
pnpm install

Then add a built-in component to no matter which .vue file, you will find volar cannot detect its type.

According to documentation, Vue 2.7 has built-in JSX types and users do not need to install @vue/runtime-dom (which export types of built-in components like <Transition> and <Transition Group>). But I cannot find such type declarations in Vue 2.7. Maybe they are not exported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy