This repository has been archived on 2025-10-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rebuilding-uis/src/router/index.js

23 lines
427 B
JavaScript
Raw Normal View History

2018-12-23 13:17:39 +00:00
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({
routes: [
{
path: '/',
name: 'applications',
component: Applications,
},
{
path: '/:id/environments',
name: 'environments',
component: Environments,
props: true,
}
]
})