Started to build out the app. Its got a basic set of features and it should really be in VC
This commit is contained in:
28
client/src/router/index.js
Normal file
28
client/src/router/index.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
|
||||
import HelloWorld from '@/components/HelloWorld'
|
||||
import Login from '@/components/Login'
|
||||
import Notes from '@/components/Notes'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
export default new Router({
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'HelloWorld',
|
||||
component: HelloWorld
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
name: 'Login',
|
||||
component: Login
|
||||
},
|
||||
{
|
||||
path: '/notes',
|
||||
name: 'Notes',
|
||||
component: Notes
|
||||
}
|
||||
]
|
||||
})
|
Reference in New Issue
Block a user