Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

How do I use dynamic subroutes with this component? #14

Closed
jlamim opened this issue Oct 24, 2017 · 1 comment
Closed

How do I use dynamic subroutes with this component? #14

jlamim opened this issue Oct 24, 2017 · 1 comment

Comments

@jlamim
Copy link

jlamim commented Oct 24, 2017

I need to use something like this:

export default new Router({ mode: 'history', routes: [ { path: '/', name: 'Home', component: Home }, { path: '/informativos', name: 'Informativos', component: Informativos, meta: { breadcrumb: 'Informativos' }, children: [ { path: '/informativo/:id/:title', component: InformativoDetalhes, meta: { breadcrumb: 'Título' } } ] } ] })

@samturrell
Copy link
Owner

Duplicate of #1 I believe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants