2022年6月22日

vite vue3 + typescript 错误解决Unexpected error when starting the router: ReferenceError: Cannot access 'index' before initialization

摘要: 为了不浪费大家宝贵时间,可以直接看文尾解决方法。 这个错误报出来提示是路由问题,三个前端一起找问题,同事找到报错的vue文件,把如下代码: import index from "./index"; export default index; 改成 import index from "./index 阅读全文

posted @ 2022-06-22 11:02 阿提 阅读(6979) 评论(0) 推荐(0) 编辑

导航