mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2026-03-03 09:36:35 +00:00
20 lines
352 B
JavaScript
20 lines
352 B
JavaScript
import { createApp } from "vue";
|
|
import App from "./App.vue";
|
|
import { createRouter, createWebHashHistory } from "vue-router";
|
|
|
|
const routes = [
|
|
{
|
|
path: '/:pathMatch(.*)*',
|
|
component: App,
|
|
},
|
|
];
|
|
|
|
const router = createRouter({
|
|
history: createWebHashHistory(),
|
|
routes,
|
|
});
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(router);
|
|
app.mount("#app"); |