Skip to content

No way to leverage Spring boot admin UI components when adding custom pages #2582

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
Kieun opened this issue Jun 28, 2023 · 3 comments
Closed

Comments

@Kieun
Copy link

Kieun commented Jun 28, 2023

While upgrading the Spring boot admin 3+ from 2.7x with custom UI, I found that there are some of UI components in the SBA UI and I try to use it, but there seems to be no way to access the components.

It would good to have a way to access the components and leverages them in the custom UI or pages.

@erikpetzold
Copy link
Member

erikpetzold commented Jun 28, 2023

Seems this is a duplicate of #1877 (which is closed due to missing feedback and got a comment yesterday). So maybe we can leave this one here open to track the problem, now that we understand what is requested.

@iuliiasobolevska
Copy link
Contributor

iuliiasobolevska commented Jul 5, 2023

+100 to the request, if that helps here is a list of components we would greatly benefit from:
sba-alert, sba-filter, sba-button, sba-icon-button, sba-instance-section, sba-panel

@SteKoe
Copy link
Contributor

SteKoe commented Jul 7, 2023

Hi all,

it is possible to use the components already, as they are registered as global components (c.f. https://vuejs.org/guide/components/registration.html#global-registration).

We have extended our custom UI examples: https://github.com/codecentric/spring-boot-admin/blob/master/spring-boot-admin-samples/spring-boot-admin-sample-custom-ui/src/custom.vue

The result looks like following picture:
sba-components

Please check if this is working for you.

Regards
Stephan

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants