mirror of https://github.com/ErsatzTV/ErsatzTV.git
3 changed files with 31 additions and 0 deletions
Before Width: | Height: | Size: 6.7 KiB |
@ -0,0 +1,22 @@ |
|||||||
|
import Vue from "vue"; |
||||||
|
import VueRouter from "vue-router"; |
||||||
|
import HomePage from "../views/HomePage.vue"; |
||||||
|
|
||||||
|
Vue.use(VueRouter); |
||||||
|
|
||||||
|
const routes = [ |
||||||
|
{ |
||||||
|
path: "/", |
||||||
|
name: "Home", |
||||||
|
icon: "mdi-view-dashboard-variant", |
||||||
|
component: HomePage, |
||||||
|
}, |
||||||
|
]; |
||||||
|
|
||||||
|
const router = new VueRouter({ |
||||||
|
mode: "history", |
||||||
|
base: process.env.BASE_URL, |
||||||
|
routes, |
||||||
|
}); |
||||||
|
|
||||||
|
export default router; |
Loading…
Reference in new issue