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

Uncaught ReferenceError: mermaid is not defined #250

Closed
MoeexT opened this issue Jun 12, 2019 · 1 comment
Closed

Uncaught ReferenceError: mermaid is not defined #250

MoeexT opened this issue Jun 12, 2019 · 1 comment

Comments

@MoeexT
Copy link

MoeexT commented Jun 12, 2019

Executable Version
node --version v10.15.2
npm --version 6.9.0
nodeppt -v 2.1.5
OS Version
Windows 10 1903

今天上午用的时候全部正常,晚上就报错了

  • mermaid: index.html -> <script>mermaid.startOnLoad = false;</script>这句报红。
  • echarts: 不仅如此,echarts的主题配置文件(js格式)也不能使用:require is not defined
@ksky521
Copy link
Owner

ksky521 commented Jun 28, 2020

以前模板用的外链js是通配符,所以如果file://打开的页面会报错,后面2.2.1+修复了

@ksky521 ksky521 closed this as completed Jun 28, 2020
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