diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 1dbb26c..68f39c7 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -7,6 +7,7 @@ import Info from "../views/Info.vue"; import TimeRecords from "../views/TimeRecords.vue"; import About from "../views/About.vue"; import Login from "../views/Login.vue"; +import Register from "../views/Register.vue"; Vue.use(VueRouter); const routes = [ @@ -25,6 +26,11 @@ const routes = [ name: "Login", component: Login }, + { + path: "/register", + name: "Register", + component: Register + }, { path: "/profile/:id", name: "Profile", diff --git a/frontend/src/views/Login.vue b/frontend/src/views/Login.vue index 05f3465..f905d15 100644 --- a/frontend/src/views/Login.vue +++ b/frontend/src/views/Login.vue @@ -2,9 +2,9 @@