Loading [MathJax]/jax/output/HTML-CSS/jax.js
34 Star 167 Fork 58

Gitee 极速下载/spring-boot-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/codecentric/spring-boot-admin
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

spring-boot-admin-server-ui

Building this module

The jar can be build with Maven with the maven-exec-plugin. To do this node.js and npm must be installed on your machine and be on your $PATH. If you don't want to use the maven exec run the following commands:

Running Spring Boot Admin Server for development

To develop the ui on an running server the best to do is

  1. Running the ui build in watch mode so the resources get updated:
npm run build:watch
  1. Run a Spring Boot Admin Server instances with the template-location and resource-location pointing to the build output and disable caching:
spring.boot.admin.ui.cache.no-cache: true
spring.boot.admin.ui.resource-locations: file:../../spring-boot-admin-server-ui/target/dist/
spring.boot.admin.ui.template-location: file:../../spring-boot-admin-server-ui/target/dist/
spring.boot.admin.ui.cache-templates: false

Or just start the spring-boot-admin-sample-servlet project using the dev profile. You also might want to use the insecure profile so you don't need to login.

If you are using hierarchical projects (like the samples here), you have to point "Working directory" in your run config to the Project you are running. In IDEA you can simply use "MODULEDIR".

Build

npm install
npm run build

Repeated build with watching the files:

npm run watch

Run tests

npm run test

Repeated tests with watching the files:

npm run test:watch

Run Storybook

npm run storybook

For some recurring UI elements we have created components that should be reused. To see how they work and which options (props) they provide, use Storybook (see https://storybook.js.org/).

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mirrors/spring-boot-admin.git
git@gitee.com:mirrors/spring-boot-admin.git
mirrors
spring-boot-admin
spring-boot-admin
master

搜索帮助