首页 / 资讯中心 / 文章详情

vue3 实战系列之无法识别vue组件

vue3 实战系列之无法识别vue组件 ★ FEATURED ARTICLE
在引用.vue组件时明明路径都对但是就是报错解决方法在src下创建内容如/// reference typesvite/client / declare module *.vue { import type { DefineComponent } from vue const component: DefineComponent{}, {}, any export default component }
阅读完成 · 觉得有帮助?
咨询建站