文档:http://swaggerui.codeartist.cn
确保后台项目整合了Swagger
,如果是Maven项目,在pom.xml
文件中添加:
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${swagger.version}</version>
</dependency>
将本Vue项目运行npm run build
打包静态页面,然后将静态页面集成到后台项目中。
Apache License 2.0
问题或建议,请访问这里。