unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.77k stars 349 forks source link

component name is not highlighted #789

Closed lstgithub578 closed 2 months ago

lstgithub578 commented 2 months ago

Describe the bug

The component name is not highlighted and cannot hold down ctrl+ click Jump. image

Reproduction

<script setup lang="ts">
import { ElButton } from 'element-plus';
defineOptions({
    name: 'TempIndex'
})
</script>

<template>
    <div>
        <ElButton>  
        </ElButton>
    </div>
</template>

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
    Memory: 371.21 MB / 7.89 GB
  Binaries:
    Node: 18.20.4 - D:\nvmnodejs\node.EXE
    Yarn: 1.22.22 - D:\nvmnodejs\yarn.CMD
    npm: 10.7.0 - D:\nvmnodejs\npm.CMD
    pnpm: 9.6.0 - D:\nvmnodejs\pnpm.CMD
  Browsers:
    Chrome: 127.0.6533.89
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355

Used Package Manager

pnpm

Validations