会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
久曲健
博客园
首页
新随笔
联系
订阅
管理
2021年12月25日
解决Vue3引入自定义组件报错Cannot find module ‘xxx‘ or its corresponding type declarations问题
摘要: 一、报错 1、idea里报错 2、脚手架编译报错 二、原因 声明都没有问题,为什么还会报错? 是因为import的地址不对。 解决方案 import TheHeader from '../components/the-header.vue'; import TheFooter from "../co
阅读全文
posted @ 2021-12-25 11:52 久曲健
阅读(9545)
评论(0)
推荐(1)
公告