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:
To develop the ui on an running server the best to do is
npm run build:watch
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".
npm install
npm run build
Repeated build with watching the files:
npm run watch
npm run test
Repeated tests with watching the files:
npm run test:watch
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/).
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。