mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-12 02:42:27 +00:00
Add filter routes
This commit is contained in:
19
src/main.js
19
src/main.js
@@ -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");
|
||||
|
Reference in New Issue
Block a user