Files
vinlottis/src/routes/vinlottisRouter.js
Kasper Rynning-Tønnesen 18b6e3a941 Socket-things
2020-03-16 09:39:46 +01:00

49 lines
924 B
JavaScript

import VinlottisPage from "@/components/VinlottisPage";
import GeneratePage from "@/components/GeneratePage";
import TodaysPage from "@/components/TodaysPage";
import AllWinesPage from "@/components/AllWinesPage";
import LoginPage from "@/components/LoginPage";
import CreatePage from "@/components/CreatePage";
import AdminPage from "@/components/AdminPage";
import VirtualLotteryPage from "@/components/VirtualLotteryPage";
const routes = [
{
path: "*",
component: VinlottisPage
},
{
path: "/generate",
component: GeneratePage
},
{
path: "/dagens",
component: TodaysPage
},
{
path: "/viner",
component: AllWinesPage
},
{
path: "/login",
component: LoginPage
},
{
path: "/create",
component: CreatePage
},
{
path: "/admin",
component: AdminPage
},
{
path: "/virtual",
component: VirtualLotteryPage
}
];
export { routes };