Added methods to create a new teams
This commit is contained in:
parent
912e451038
commit
61867fc787
4 changed files with 91 additions and 5 deletions
|
|
@ -15,6 +15,7 @@ import EditNamespaceComponent from '@/components/namespaces/EditNamespace'
|
|||
// Team Handling
|
||||
import ListTeamsComponent from '@/components/teams/ListTeams'
|
||||
import EditTeamComponent from '@/components/teams/EditTeam'
|
||||
import NewTeamComponent from '@/components/teams/NewTeam'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
|
|
@ -65,6 +66,11 @@ export default new Router({
|
|||
name: 'listTeams',
|
||||
component: ListTeamsComponent
|
||||
},
|
||||
{
|
||||
path: '/teams/new',
|
||||
name: 'newTeam',
|
||||
component: NewTeamComponent
|
||||
},
|
||||
{
|
||||
path: '/teams/:id/edit',
|
||||
name: 'editTeam',
|
||||
|
|
|
|||
Reference in a new issue