Add applications page
This commit is contained in:
parent
a1d0bca6cf
commit
fb2c47cad9
17 changed files with 292 additions and 105 deletions
23
src/router/index.js
Normal file
23
src/router/index.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import Applications from '@/views/Applications'
|
||||
import Environments from '@/views/Environments'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
export default new Router({
|
||||
mode: 'history',
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'applications',
|
||||
component: Applications,
|
||||
},
|
||||
{
|
||||
path: '/:id/environments',
|
||||
name: 'environments',
|
||||
component: Environments,
|
||||
props: true,
|
||||
}
|
||||
]
|
||||
})
|
Reference in a new issue