diff --git a/src/App.vue b/src/App.vue index 6c26aa6..630ad77 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,32 +1,9 @@ diff --git a/src/assets/logo.png b/src/assets/logo.png deleted file mode 100644 index f3d2503..0000000 Binary files a/src/assets/logo.png and /dev/null differ diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 1c544cb..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - diff --git a/src/router/index.js b/src/router/index.js index d36779e..c5e2004 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,6 +1,8 @@ import Vue from 'vue' import VueRouter from 'vue-router' -import Home from '../views/Home.vue' +import Dashboard from '@/views/Dashboard' +import Login from "@/views/Login"; +import Register from "@/views/Register"; Vue.use(VueRouter) @@ -8,7 +10,17 @@ const routes = [ { path: '/', name: 'Home', - component: Home + component: Dashboard + }, + { + path: '/login', + name: 'Login', + component: Login + }, + { + path: '/register', + name: 'Register', + component: Register }, { path: '/about', @@ -16,7 +28,7 @@ const routes = [ // route level code-splitting // 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') + component: () => import(/* webpackChunkName: "about" */ '@/views/About.vue') } ] diff --git a/src/views/About.vue b/src/views/About.vue index 3fa2807..b01ff22 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -1,5 +1,5 @@ diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue new file mode 100644 index 0000000..ded11e1 --- /dev/null +++ b/src/views/Dashboard.vue @@ -0,0 +1,12 @@ + + + diff --git a/src/views/Home.vue b/src/views/Home.vue deleted file mode 100644 index 8bd6c57..0000000 --- a/src/views/Home.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/src/views/Login.vue b/src/views/Login.vue new file mode 100644 index 0000000..0fc3c82 --- /dev/null +++ b/src/views/Login.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/src/views/Register.vue b/src/views/Register.vue new file mode 100644 index 0000000..e5090ba --- /dev/null +++ b/src/views/Register.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file