Commit 60eeea96 authored by Culdred's avatar Culdred
Browse files

Add routing for CircleMarker component

parent f3e6d7ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
    <div class="menu">
      <router-link to="/">Home</router-link>
      <router-link to="/marker">Marker</router-link>
      <router-link to="/circle-marker">CircleMarker</router-link>
    </div>
    <div class="map-wrapper">
      <router-view />
+4 −0
Original line number Diff line number Diff line
@@ -7,6 +7,10 @@ import Home from "./views/Home.vue";
const routes = [
  { path: "/", component: Home },
  { path: "/marker", component: () => import("./views/Marker.vue") },
  {
    path: "/circle-marker",
    component: () => import("./views/CircleMarker.vue"),
  },
];

const router = createRouter({