Springboot如何快速集成PageOffice实现文档在线编辑?
- 内容介绍
- 文章标签
- 相关推荐
也要.… 你得有一个SpringBoot项目, Ru果你还没有,别急着手动创建,利用Spring Initializr或者你熟悉的IDEA插件,几秒钟就能搞定。
准备工作
当然Ru果你喜欢命令行的快感, 也Ke以尝试用curl命令直接拉取一个模板:
curl start.spring.io/starter.zip \
-d dependencies=web,thymeleaf \
-d javaVersion=8 \
-d packaging=jar \
-d bootVersion=2.3.12.RELEASE \
-d artifactId=pageoffice-demo \
-o pageoffice-demo.zip
解压后我们就拥有了一个基础的SpringBoot工程,这里我们引入了Thymeleaf作为模板引擎。
添加依赖
上手。 打开你的pom.xml文件, 我们需要添加PageOffice的依赖,注意SpringBoot的版本不同,引入的PageOffice依赖也是不同的。
也要.… 你得有一个SpringBoot项目, Ru果你还没有,别急着手动创建,利用Spring Initializr或者你熟悉的IDEA插件,几秒钟就能搞定。
准备工作
当然Ru果你喜欢命令行的快感, 也Ke以尝试用curl命令直接拉取一个模板:
curl start.spring.io/starter.zip \
-d dependencies=web,thymeleaf \
-d javaVersion=8 \
-d packaging=jar \
-d bootVersion=2.3.12.RELEASE \
-d artifactId=pageoffice-demo \
-o pageoffice-demo.zip
解压后我们就拥有了一个基础的SpringBoot工程,这里我们引入了Thymeleaf作为模板引擎。
添加依赖
上手。 打开你的pom.xml文件, 我们需要添加PageOffice的依赖,注意SpringBoot的版本不同,引入的PageOffice依赖也是不同的。

