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

文档路由支持history mode吗 #2256

Open
jinhuang415 opened this issue Aug 29, 2024 · 1 comment
Open

文档路由支持history mode吗 #2256

jinhuang415 opened this issue Aug 29, 2024 · 1 comment

Comments

@jinhuang415
Copy link

jinhuang415 commented Aug 29, 2024

貌似默认部署后的文档路由是hash mode(如 https://xxx/#/1/2 ),是否可以支持history mode呢 (如 https://xxx/1/2 )?

@star7th
Copy link
Owner

star7th commented Aug 29, 2024

不支持,会有额外的兼容问题,比如需要考虑安装到二级目录的场景等等。而且历史上很多地方使用了哈希路由地址

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