Generate and lottery has distinct routes.

No longer use tab view for these pages.
This commit is contained in:
2020-12-31 17:13:41 +01:00
parent 0144780bb1
commit 3c0b8d4c06

View File

@@ -1,9 +1,9 @@
const VinlottisPage = () => import(
/* webpackChunkName: "landing-page" */
"@/components/VinlottisPage");
const LotteryPage = () => import(
const VirtualLotteryPage = () => import(
/* webpackChunkName: "landing-page" */
"@/components/LotteryPage");
"@/components/VirtualLotteryPage");
const GeneratePage = () => import(
/* webpackChunkName: "landing-page" */
"@/components/GeneratePage");
@@ -54,7 +54,7 @@ const routes = [
{
path: "/lottery",
name: "Lotteri",
component: LotteryPage
component: VirtualLotteryPage
},
{
path: "/dagens",
@@ -82,8 +82,8 @@ const routes = [
component: AdminPage
},
{
path: "/lottery/:tab",
component: LotteryPage
path: "/generate/",
component: GeneratePage
},
{
path: "/winner/:id",