d2-projects / d2-admin-start-kit

Start kit of D2Admin
MIT License
742 stars 386 forks source link

🖐 其它问题 | npm run build 后部署内网的服务器瞬间傻逼 #63

Closed j421037 closed 3 years ago

j421037 commented 3 years ago

仔细一看全部都在index.html 引入了cdn 操蛋

j421037 commented 3 years ago

内网服务器与外网隔离

Aysnine commented 3 years ago

把这个配置 CDN 的数组清空即可: https://github.com/d2-projects/d2-admin-start-kit/blob/master/dependencies-cdn.js

module.exports = [
 // ...
]
j421037 commented 3 years ago

解决了。。 我把index.html 的for 循环注释掉了,最近比较忙。忘记回复了 见谅