Fix navbar and login view
This commit is contained in:
parent
dde639f3d1
commit
6e4c2ddabd
5 changed files with 49 additions and 16 deletions
|
@ -1,19 +1,29 @@
|
|||
import Vue from "vue";
|
||||
import VueRouter, { RouteConfig } from "vue-router";
|
||||
import Home from "../views/Home.vue";
|
||||
import MainPage from "../views/MainPage.vue";
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
const routes: Array<RouteConfig> = [
|
||||
{
|
||||
path: "/",
|
||||
name: "Home",
|
||||
component: Home,
|
||||
name: "home",
|
||||
component: MainPage,
|
||||
},
|
||||
{
|
||||
path: "/login",
|
||||
name: "login",
|
||||
component: MainPage,
|
||||
},
|
||||
{
|
||||
path: "/signup",
|
||||
name: "signup",
|
||||
component: MainPage,
|
||||
},
|
||||
{
|
||||
path: "/confirm/:uid/:token",
|
||||
name: "Confirm",
|
||||
component: Home,
|
||||
name: "confirm",
|
||||
component: MainPage,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
Reference in a new issue