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

服务端渲染报错 navigator is not defined #129

Closed
wyhooo opened this issue Nov 3, 2021 · 3 comments
Closed

服务端渲染报错 navigator is not defined #129

wyhooo opened this issue Nov 3, 2021 · 3 comments

Comments

@wyhooo
Copy link

wyhooo commented Nov 3, 2021

详细描述你的问题

Vue@3.2.1 服务端渲染出错 navigator is not defined

期望的结果

正确渲染

当前使用的版本

5.6.28

不要贴 package.json 用 yarn list "ssr*" 来查看版本。同时建议熟读semver 规则并且知道怎么安装最新依赖!

复现仓库地址

https://github.com/vuejs/vue-next/blob/6916d725a06a57e92ff9d046ccf132c305cd0a51/packages/runtime-core/src/devtools.ts#L57

@zhangyuang
Copy link
Owner

zhangyuang commented Nov 3, 2021

已提pr等官方回复

@loyep
Copy link
Contributor

loyep commented Nov 3, 2021

目前建议 暂时锁定vue到3.2.19

@zhangyuang
Copy link
Owner

已修复

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

3 participants