draft market
This commit is contained in:
23
src/main.ts
23
src/main.ts
@@ -1,5 +1,20 @@
|
||||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
import './style.css'
|
||||
import { createApp } from 'vue';
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import App from './App.vue';
|
||||
import './style.css';
|
||||
|
||||
createApp(App).mount('#app')
|
||||
const routes = [
|
||||
{ path: '/', component: () => import('@/Index.vue') },
|
||||
{ path: '/reprocess', component: () => import('@/reprocess/Reprocess.vue') },
|
||||
{ path: '/market', component: () => import('@/market/Market.vue') },
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes,
|
||||
});
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
app.use(router);
|
||||
app.mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user