vue3使用ruoyi框架出现Does the file exist

复制代码
Failed to load url /src/api/system/operations/index (resolved id: E:/githubSpace/xxx-cloud/xxx-ui/kxcharge-ui-admin/src/api/system/operations/index) in E:/githubSpace/xxx-cloud/xxx-ui/xxx-ui-admin/src/views/operations/currentOrder/index.vue. Does the file exist?

vue3使用ruoyi框架出现Does the file exist 。配置对应的菜单,这个文件明明是存在的。但是点开菜单一直出现如下报错。

Failed to load url /src/api/system/operations/index (resolved id: E:/githubSpace/xxx-cloud/xxx-ui/kxcharge-ui-admin/src/api/system/operations/index) in E:/githubSpace/xxx-cloud/xxx-ui/xxx-ui-admin/src/views/operations/xxx/index.vue. Does the file exist?

解决办法

src/views/operations/xxx/index.vue

点开对应的内页,检查这个页面,是否有import错误,或者爆红的地方。解决一下即可。

相关推荐
步十人9 小时前
【Vue3】前置知识简单概述(包括ES6核心语法,模块化ESM以及npm基础)
arcgis·npm·vue·es6
有梦想的程序星空1 天前
【环境配置】Vue3项目离线化本地部署echarts全攻略
前端·javascript·vue·echarts
向日的葵0061 天前
vue路由(二)
前端·javascript·vue.js·vue
小妖6662 天前
Hydration completed but contains mismatches
javascript·vue·vuepress
lianyinghhh2 天前
FlowGame 从零上手:开源 AI 工作流编排框架与 Vue 3 接入实战
python·低代码·开源·vue·rag·flowgame·ai工作流编排
爱编程的小金2 天前
告别手写分页逻辑:usePagination 从 50 行到 3 行
javascript·vue·前端分页·alova·usepagination
ok406lhq3 天前
用 MonkeyCode 8 小时搭建自动化内容站:AI Coding 平台实战复盘
ci/cd·vue·ai编程·自动化部署·monkeycode
brycegao3213 天前
Tauri2+Vue3+Ollama 实战|依托 AI 协同开发全离线隐私记账桌面软件(开源)
人工智能·开源·vue·ai编程·tauri·ollama·桌面开发
向日的葵0063 天前
快速了解vue中的路由如何实现(路由一)
前端·vue.js·vue·路由
暗冰ཏོ3 天前
《uni-app 跨端开发完整指南:从基础入门到 H5、小程序、App 发布上线》
前端·小程序·uni-app·vue·html5