1
2
3
4
5
6
7
8
9
10
11
12
13
| import { createRouter, createWebHashHistory } from "vue-router";
|
| import CapabilityView from "@/views/CapabilityView.vue";
| import OverviewView from "@/views/OverviewView.vue";
|
| export const router = createRouter({
| history: createWebHashHistory(),
| routes: [
| { path: "/", name: "overview", component: OverviewView },
| { path: "/capability/:id", name: "capability", component: CapabilityView },
| { path: "/:pathMatch(.*)*", redirect: "/" }
| ]
| });
|
|