Move routes
This commit is contained in:
parent
bdee16fe32
commit
245b9ad050
2 changed files with 9 additions and 9 deletions
25
src/routes.js
Normal file
25
src/routes.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import Applications from '@/views/Applications'
|
||||
import Environment from '@/views/Environment'
|
||||
import Environments from '@/views/Environments'
|
||||
|
||||
export default {
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'applications',
|
||||
component: Applications,
|
||||
},
|
||||
{
|
||||
path: '/:id/environments',
|
||||
name: 'environments',
|
||||
component: Environments,
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: '/:id/environments/:environmentName',
|
||||
name: 'environment',
|
||||
component: Environment,
|
||||
props: true,
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in a new issue