Files
gemory/src/main.ts
2023-09-02 10:09:22 +02:00

22 lines
596 B
TypeScript

import { createApp } from 'vue';
import { createRouter, createWebHistory } from 'vue-router';
import App from './App.vue';
import './style.css';
const routes = [
{ path: '/', component: () => import('@/Index.vue') },
{ path: '/reprocess', component: () => import('@/reprocess/Reprocess.vue') },
{ path: '/market', component: () => import('@/market/Market.vue') },
{ path: '/tools', component: () => import('@/tools/Tools.vue') },
];
const router = createRouter({
history: createWebHistory(),
routes,
});
const app = createApp(App);
app.use(router);
app.mount('#app');