个人整理 · 2026/11/24 17:16:55 · 技术笔记
vue3 实战系列之无法识别vue组件
编程 复习要点 示例代码

在引用.vue组件时明明路径都对但是就是报错解决方法在src下创建内容如/// reference typesvite/client / declare module *.vue { import type { DefineComponent } from vue const component: DefineComponent{}, {}, any export default component }