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');