5-2项目精简以后出现问题
来源:2-4 讨论一下如何从零到一搭建基于后台框架
weixin_慕勒6451202
2022-04-02
PS D:\ObsessionZ-project\readbook\vue-element-admin> npm run dev
> vue-element-admin@4.4.0 dev
> vue-cli-service serve
INFO Starting development server...
98% after emitting CopyPlugin
WARNING Compiled with 1 warning 18:50:47
warning in ./src/store/modules/permission.js
"export 'asyncRoutes' was not found in '@/router'
App running at:
- Local: http://localhost:9527/
- Network: http://192.168.101.6:9527/
Note that the development build is not optimized.
To create a production build, run npm run build.
老师我在删除多余文件以后弹出的这个问题该怎么解决啊
写回答
1回答
-
扬_灵
2022-04-04
同学你好,这个报错在routert/index没有导出asyncRoutes,可以看一下router中是否有asyncRoutes的内容,或者在项目中搜索一下哪里使用了asyncRoutes将这里的使用给注释掉。
00
相似问题