Skip to content

关于umijs开发环境的绝对路径问题 #12091

Answered by fz6m
arcelan asked this question in Q&A
Discussion options

You must be logged in to vote

据我所知由于 umi 4 已经从 2021 开始开发到现在 2 年多,历史设计里就没考虑从相对路径加载,所以开发时服务全是默认从 /xxx 开始加载的,后面功能多了就很难改了,另外目测蚂蚁内也没有要从 ./ 开发的需求,所以他们不需要这个吧。

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@arcelan
Comment options

@fz6m
Comment options

fz6m Jan 29, 2024
Maintainer

@arcelan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@arcelan
Comment options

@fz6m
Comment options

fz6m Feb 3, 2024
Maintainer

Answer selected by arcelan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants