Files
SOP/sop-admin/sop-admin-front/README.md
2019-06-18 17:57:32 +08:00

24 lines
641 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# admin前端页面(停止维护)
做到前后端分离。
当然也可以不分离直接把前端页面放入到server中。这样做的好处是启动服务器即可访问页面。
步骤如下:
- cd到sop-admin-front目录执行命令`mvn clean install`
- sop-admin-server工程添加maven依赖
```
<dependency>
<groupId>com.gitee.sop</groupId>
<artifactId>sop-admin-front</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
```
启动服务端,访问:http://localhost:8082
原理就是springboot访问webjars资源建议在开发的时候前后端分离开发完成后再打包成webjars。