Skip to content

Files

Latest commit

May 17, 2025
d45714b · May 17, 2025

History

History

spring-boot-admin-server-ui

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 24, 2025
May 17, 2025
Mar 7, 2025
Jan 20, 2023
Jan 6, 2023
May 14, 2025
Oct 13, 2023
May 4, 2024
May 17, 2025
May 17, 2025
Feb 19, 2025
Feb 24, 2025
Apr 21, 2023
Dec 19, 2023
Feb 24, 2025
May 16, 2025

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 "$MODULE_DIR$".

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/).