https://github.com/jgraph/drawio/releases
https://github.com/jgraph/drawio/releases
部署教程:
三种运行方式:
1. 直接点击 index.html 即可使用。
2. 将drawio/src/main/webapp下的所有文件复制到springboot项目的/resources/static/drawio下面。(完整的springboot项目,drawio文件夹手动创建)。然后直接访问对应url,例如:https://localhost:8080/drawio/index.html。
3. idea + tomcat9 +ant 运行整个源码:
设置jdk16 file --> project structure -->project

导lib :右边 "+" 选 "JARs or Directories" 添加lib。

左边 "+" 选web 。选择指定路径。

添加 war包

ant启动:build.xml右键加入ant启动。ant右键 “ Run Build”

添加tomcat服务:

添加war包到tomcat:

运行tomcat。
这篇博客详细介绍了drawio的源码获取途径及三种不同的运行方式:1) 直接运行index.html,2) 结合springboot部署,3) 使用idea与tomcat进行集成运行。对于每种方式,都提供了具体的步骤指导,帮助读者成功部署和运行drawio。
904

被折叠的 条评论
为什么被折叠?



