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

默认HTML模板支持生成一个带id的应用容器 #50

Closed
otakustay opened this issue Apr 29, 2021 · 0 comments
Closed

默认HTML模板支持生成一个带id的应用容器 #50

otakustay opened this issue Apr 29, 2021 · 0 comments

Comments

@otakustay
Copy link
Member

现在大部分应用,对初始HTML要求就是一个<div id="root"></div>,这个id要自己指定

最初我们是想不要有这么个容器,直接document.body.appendChild(document.createElement('div'))就行了,但好像和微服务整合的时候不行,所以得加这功能

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

1 participant