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

拉取项目,本地运行,safari报错,firefox正常启动 #8

Closed
zhanglolo opened this issue Feb 7, 2021 · 6 comments
Closed
Labels
help wanted Extra attention is needed

Comments

@zhanglolo
Copy link

safari控制台报错:SyntaxError: Unexpected token ','. Expected a ';' following a targeted export declaration.

截屏2021-02-07 上午11 05 26

@zhanglolo zhanglolo reopened this Feb 7, 2021
@ShenQingchuan ShenQingchuan added the help wanted Extra attention is needed label Feb 7, 2021
haoqunjiang added a commit to haoqunjiang/vitepress that referenced this issue Feb 7, 2021
Adds doctype to avoid quirks mode, supersedes vuejs#207.
Adds charset, fixes Safari issues with non-ascii characters,
closes vuejs#218, closes vitejs/docs-cn#8
@KnowsCount
Copy link
Collaborator

KnowsCount commented Feb 8, 2021

我这里没有这样的问题。

不过,在本地 yarn dev 的时候出现了这样的问题 #10

@haoqunjiang
Copy link
Member

参见 vuejs/vitepress#227

@ShenQingchuan
Copy link
Member

closes #10 due to similarity.

@haoqunjiang
Copy link
Member

vitepress 0.12 修复了这个问题,需要更新一下依赖。

@zhanglolo
Copy link
Author

zhanglolo commented Feb 17, 2021

vitepress 0.12 修复了这个问题,需要更新一下依赖。

👌我试一下

@zhanglolo
Copy link
Author

zhanglolo commented Feb 17, 2021

@ShenQingchuan @sodatea @KnowsCount
更新vitepress至0.12.2后,yarn dev 在safari浏览器中不再报错。👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants