Breadcrumb not working properly

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
mexion
Posts: 5
Joined: 21 Dec 2022, 20:05

05 Mar 2023, 20:56

When I look at the breadcrumb , even on your own demo pages, all links of the breadcrumb items go to #
When I add a TO or URL to the
breadcrumb: [{ label: 'Dashboard Analytics' }],
items it is also not working

Please explain how I can add a specific route to the breadcrumb item

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

08 Mar 2023, 15:41

In AppBreadcrumb.vue, please change 'watchRouter' method like this:

Code: Select all

watchRouter() {
  if(this.$router.currentRoute.value.meta.breadcrumb) {
	 this.items = [];
	const bc = this.$router.currentRoute.value.meta.breadcrumb[0];
	for(let pro in bc) {
		this.items.push({to: this.$router.currentRoute.value, label: bc[pro]});
	}
   }
}

Post Reply

Return to “Ultima - PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests