Skip to content

Cannot use custom template when using nuxt #137

Open
@naufalfarras

Description

@naufalfarras

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions