diff --git a/src/App.vue b/src/App.vue index 6c26aa6..66d3b85 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,32 +1,5 @@ - - diff --git a/src/layouts/Admin.vue b/src/layouts/Admin.vue new file mode 100644 index 0000000..91c6c26 --- /dev/null +++ b/src/layouts/Admin.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/src/layouts/Organization.vue b/src/layouts/Organization.vue new file mode 100644 index 0000000..2ff359b --- /dev/null +++ b/src/layouts/Organization.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index 12f6daf..91ad774 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -17,6 +17,19 @@ const routes: Array = [ // this generates a separate chunk (about.[hash].js) for this route // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') + }, + + { + path: '/admin', + name: 'AdminLayout', + component: () => import(/* webpackChunkName: "adminLayout" */ '../layouts/Admin.vue'), + children: [ + { + path: '/', + name: 'OrganizationList', + component: () => import(/* webpackChunkName: "organizationList" */ '../views/Admin/OrganizationList.vue') + } + ] } ] diff --git a/src/views/Admin/OrganizationList.vue b/src/views/Admin/OrganizationList.vue new file mode 100644 index 0000000..2b81883 --- /dev/null +++ b/src/views/Admin/OrganizationList.vue @@ -0,0 +1,13 @@ + + + diff --git a/src/views/Home.vue b/src/views/Home.vue index 8bd6c57..d9b41ab 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,18 +1,15 @@