Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

动态路由和js打包分离问题? #55

Closed
elicip opened this issue Mar 21, 2022 · 5 comments
Closed

动态路由和js打包分离问题? #55

elicip opened this issue Mar 21, 2022 · 5 comments

Comments

@elicip
Copy link

elicip commented Mar 21, 2022

是否cool-admin-vue不支持动态路由按需加载,我看请求页面的时候需要等所有的包文件都加载,这样不科学吧?访问特定路由时按需加载这个部分的包文件是否更好?

@icssoa
Copy link
Collaborator

icssoa commented May 11, 2022

模块读取的的时候会全部加载,待优化~

@elicip
Copy link
Author

elicip commented May 28, 2022

@icssoa 希望可以提上日程,现在项目一大初次加载就要占用不少时间,而且在登录页面就把后台的功能逻辑代码加载出来了,也不是很安全

@icssoa
Copy link
Collaborator

icssoa commented Jun 24, 2022

@icssoa 希望可以提上日程,现在项目一大初次加载就要占用不少时间,而且在登录页面就把后台的功能逻辑代码加载出来了,也不是很安全

这个只是返回实体,而且只有在开发环境下才有

@icssoa
Copy link
Collaborator

icssoa commented Jul 26, 2022

是否cool-admin-vue不支持动态路由按需加载,我看请求页面的时候需要等所有的包文件都加载,这样不科学吧?访问特定路由时按需加载这个部分的包文件是否更好?

优化好了

@icssoa icssoa closed this as completed Jul 26, 2022
@elicip
Copy link
Author

elicip commented Jul 26, 2022

已经发布了吗?我用的还是vue2版本,我想看下怎么移植到vue2版本中去

是否cool-admin-vue不支持动态路由按需加载,我看请求页面的时候需要等所有的包文件都加载,这样不科学吧?访问特定路由时按需加载这个部分的包文件是否更好?

优化好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants