开发指南 | MaxKey单点登录认证系统
- 该项目前端是Angular项目,后端是springboot项目
 
以maxkey-web-app前后端合并为例
-  
构建MaxKey统一认证前端
maxkey-web-frontend/maxkey-web-app
ng build --prod --base-href /sign/static/-  
以上sign由以下得来:

 
 -  
 -  
根据angular.json生成dist文件

 -  
复制 dist下所有文件到 springboot目录的 resource/static目录下
 -  
运行项目,访问 http://localhost:9527/sign/static/index.html
 
注意:
注意以下两个文件的 baseUrl需与springboot配置的server.servlet.context-path 相同




















