diff --git a/src/components/access/access.vue b/src/components/access/access.vue new file mode 100644 index 0000000..10a70d9 --- /dev/null +++ b/src/components/access/access.vue @@ -0,0 +1,50 @@ + + + + diff --git a/src/router/router.js b/src/router/router.js index 27bcbcc..8cf8cd9 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -4,6 +4,7 @@ import Login from '../components/Login' import Home from '../components/Home' import welcome from '../components/welcome' import users from '../components/users/users' +import access from '../components/access/access' Vue.use(VueRouter) @@ -16,7 +17,8 @@ const routes = [ redirect: '/welcome', children: [ { path: '/welcome', component: welcome }, - { path: '/users', component: users } + { path: '/users', component: users }, + { path: '/rights', component: access } ] } ]