Add filter routes

This commit is contained in:
Dave Gallant
2023-01-21 21:49:35 -05:00
parent 07f7a31864
commit ebf664c93c
4 changed files with 50 additions and 21 deletions

View File

@@ -1,6 +1,7 @@
import { createApp } from "vue";
import App from "./App.vue";
import VueGtag from "vue-gtag";
import { createRouter, createWebHashHistory } from "vue-router";
import "bootstrap/dist/css/bootstrap.min.css";
import "bootstrap/dist/js/bootstrap.min.js";
@@ -8,9 +9,17 @@ import "mousetrap/mousetrap.min.js";
import "./theme.css";
createApp(App)
.use(VueGtag, {
config: { id: "G-YF11ZH9SYD" },
})
.mount("#app");
const routes = [];
const router = createRouter({
history: createWebHashHistory(),
routes,
});
const app = createApp(App).use(VueGtag, {
config: { id: "G-YF11ZH9SYD" },
});
app.use(router);
console.log(router);
app.mount("#app");