Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[feat]: Customize template #44

Closed
furyscript opened this issue May 8, 2018 · 0 comments
Closed

[feat]: Customize template #44

furyscript opened this issue May 8, 2018 · 0 comments
Labels
Milestone

Comments

@furyscript
Copy link

furyscript commented May 8, 2018

Can we customize breadcrumb template like this?
If no, can add a fast commit for this

Vue.use(VueBreadcrumbs, {
  template:
    '<b-container class="breadcrumb pt-3 mb-0" v-if="$breadcrumbs.length"> ' +
      '<router-link class="breadcrumb-item" to="/">Home</router-link> ' +
      '<router-link class="breadcrumb-item" v-for="(crumb, key) in $breadcrumbs" :to="linkProp(crumb)" :key="key">{{ crumb | crumbText }}</router-link> ' +
    '</b-container>'
})

You can easy inspire by this https://github.com/samturrell/vue-breadcrumbs/blob/master/src/index.js
I need very soon this update, please hope you add this feature

@Scrum Scrum added the feat label Jul 18, 2018
@Scrum Scrum added this to the 0.4.0 milestone Jul 18, 2018
@Scrum Scrum changed the title Customize template [feat]: Customize template Jul 18, 2018
@Scrum Scrum mentioned this issue Jul 18, 2018
2 tasks
@Scrum Scrum closed this as completed in 88f3da2 Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants