Add district header on root page
This commit is contained in:
parent
bfecae7d61
commit
5842b6251d
10 changed files with 124 additions and 157 deletions
|
|
@ -1,18 +1,38 @@
|
|||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import type { RouteRecordRaw } from "vue-router";
|
||||
import Home from "@/rmo/view/Home.vue";
|
||||
import Nuisance from "@/rmo/view/Nuisance.vue";
|
||||
import HomeBase from "@/rmo/view/Home.vue";
|
||||
import HomeDistrict from "@/rmo/view/district/Home.vue";
|
||||
import NuisanceBase from "@/rmo/view/Nuisance.vue";
|
||||
//import * as NuisanceDistrict from "@/rmo/view/district/Nuisance.vue";
|
||||
import Status from "@/rmo/view/Status.vue";
|
||||
import Water from "@/rmo/view/Water.vue";
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/",
|
||||
name: "Home",
|
||||
component: Home,
|
||||
name: "HomeBase",
|
||||
component: HomeBase,
|
||||
},
|
||||
{
|
||||
path: "/nuisance",
|
||||
name: "Nuisance",
|
||||
component: Nuisance,
|
||||
name: "NuisanceBase",
|
||||
component: NuisanceBase,
|
||||
},
|
||||
{
|
||||
path: "/district/:slug",
|
||||
name: "HomeDistrict",
|
||||
component: HomeDistrict,
|
||||
props: true,
|
||||
},
|
||||
/*{
|
||||
path: "/district/{slug}/nuisance",
|
||||
name: "NuisanceDistrict",
|
||||
component: NuisanceDistrict,
|
||||
props: true,
|
||||
},*/
|
||||
{
|
||||
path: "/status",
|
||||
name: "Status",
|
||||
component: Status,
|
||||
},
|
||||
{
|
||||
path: "/water",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue