Add confirmation view
This commit is contained in:
parent
b54c523491
commit
8b70374de6
5 changed files with 32 additions and 18 deletions
|
@ -1,6 +1,7 @@
|
|||
import Vue from "vue";
|
||||
import VueRouter, { RouteConfig } from "vue-router";
|
||||
import Home from "../views/Home.vue";
|
||||
import Confirm from "@/views/Confirm.vue";
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
|
@ -11,13 +12,9 @@ const routes: Array<RouteConfig> = [
|
|||
component: Home,
|
||||
},
|
||||
{
|
||||
path: "/about",
|
||||
name: "About",
|
||||
// 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"),
|
||||
path: "/confirm/:uid/:token",
|
||||
name: "Confirm",
|
||||
component: Home,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
Reference in a new issue