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

如何在没有互联网的情况下使用插件? #27

Open
bnqzzdf opened this issue Jul 31, 2023 · 1 comment
Open

如何在没有互联网的情况下使用插件? #27

bnqzzdf opened this issue Jul 31, 2023 · 1 comment

Comments

@bnqzzdf
Copy link

bnqzzdf commented Jul 31, 2023

您好,
我使用1.0RC1版本在内网环境部署了datart进行试用,
在使用插件时发现,插件的运行环境依赖互联网连接。
请问怎么在没有互联网的情况下部署插件呢?插件打包时能否考虑将全部依赖都打进去,避免依赖互联网?

image

@Cuiyansong
Copy link
Contributor

g2的依赖是使用了cdn,需要联网才能加载。

  1. 可以改为内网的npm库地址
  2. 将g2的cdn地址改为,后端部署服务器的相对G2lib文件资源地址

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