parent
f5587ce0c9
commit
6e6bae4caa
4 changed files with 265 additions and 16 deletions
|
|
@ -5,6 +5,8 @@ import Chat from '../components/Chat.vue'
|
|||
import Join from '../components/Join.vue'
|
||||
import Login from '../components/Login.vue'
|
||||
import Profile from '../components/Profile.vue'
|
||||
import CreateRoom from '../components/CreateRoom.vue'
|
||||
|
||||
import util from '../plugins/utils'
|
||||
|
||||
Vue.use(VueRouter)
|
||||
|
|
@ -41,6 +43,14 @@ const routes = [
|
|||
title: 'Profile'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/createroom',
|
||||
name: 'CreateRoom',
|
||||
component: CreateRoom,
|
||||
meta: {
|
||||
title: 'Create'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
name: 'Login',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue