8000 Fix for parentDynamicRoutes being cleared on route change by adamwardecki · Pull Request #18 · Suruat/vue-2-crumbs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix for parentDynamicRoutes being cleared on route change #18

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamwardecki
Copy link
@adamwardecki adamwardecki commented May 29, 2019

Closes: #5

Here's a link to a reproduction: https://codesandbox.io/s/vue-template-yy32j (When you click on 'foo' in the navigation, the router will only show the id, while it should show the full breadcrumb with parents list).

@EmilyRosina
Copy link

@Suruat this would be great to merge in, if you agree it fixes #5 🙏

@WillianHMartins
Copy link

I'm calling the route Home Individuals, but the / bar has not stayed.
correct example
Home / Individuals
teste22
My router

,{ path: "/app", name: "Início", component: AppLayout, children: [ //dashboard { name: "dashboard", path: "dashboard", component: () => import ( /* webpackChunkName: 'vhs-dashboard' */ "../views/Dashboard/Dashboard.vue" ), meta: { breadcrumb: { label: "Dashboard" } } } ] },{path: "/pessoa", meta: "Pessoa física", component: AppLayout, children: [{ name: "listPessoasFisicas", path: "fisica", component: () => import ("@/views/Pessoas/Fisica/List.vue"), meta: { breadcrumb: { label: "Pessoas físicas ", parent: "Início" } } }, { name: "cadastroPessoasFisicas", path: "cadastrar", component: () => import ("@/views/Pessoas/Fisica/CadastroPessoa.vue"), meta: { breadcrumb: { label: "Nova pessoa física", parent: "listPessoasFisicas" } } },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5CC2
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'route' watch triggered after 'created' hook
3 participants
0