Scrum / vue-2-breadcrumbs

Vue breadcrumbs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot use custom template when using nuxt

naufalfarras opened this issue · comments

hi thank you for the library, i found maybe a bug that in nuxt 2 i cant update the template with the object parameter when registering the plugins,

here i showed you if i registered without defining a template, Vue.use(VueBreadcrumbs) it is working fine,

Screen Shot 2022-03-21 at 12 21 54

but if i add this code

const template = {
   template: '<div class="breadcrumbs">Custom Navbar</div>',
}

Vue.use(VueBreadcrumbs, template)

Screen Shot 2022-03-21 at 12 22 19

notice above image there is function inside a comments that breadcrumb should be located, may i know if i am doing something wrong or this is a bug? thank you

Hello, Please provide an example https://github.com/Scrum/vue-2-breadcrumbs#options

Let me know anyway if it didn't help you.

If possible, attach an example and I will definitely understand the problem