Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Multiple paths to a route #1322

Open
SmboBeast opened this issue Aug 3, 2017 · 0 comments
Open

Multiple paths to a route #1322

SmboBeast opened this issue Aug 3, 2017 · 0 comments

Comments

@SmboBeast
Copy link

SmboBeast commented Aug 3, 2017

Guys,

Can a route have multiple paths? For example, I want 'test/:id' and 'test/blahblah/:name/:id' to go to the same page and have the same code executed.

`
export default {
path: '/test/:id',
path: '/test/blahblah/:name/:id',

async action({ params }) {
return {
title: 'Test',
component: ,
};
},
};
`

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant