bt-xtgxq-system-bigdata-exa.../src/main.js

26 lines
820 B
JavaScript
Raw Normal View History

2023-05-04 18:16:22 +08:00
import { createApp } from 'vue'
2023-05-06 18:09:41 +08:00
import { createRouter, createWebHashHistory } from 'vue-router'
2023-05-04 18:16:22 +08:00
import './style.css'
import App from './App.vue'
2023-05-06 18:09:41 +08:00
import Wgy from './components/table/Wgy.vue';
import Ddy from './components/table/Ddy.vue';
import ZfGa from './components/table/ZfGa.vue';
import Wgy3 from './components/table/Wgy3.vue';
import Znbm from './components/table/Znbm.vue';
const router = createRouter({
history: createWebHashHistory(),
routes: [
{ name: 'wgy', path: '/', component: Wgy },
{ name: 'ddy', path: '/ddy', component: Ddy },
{ name: 'zfga', path: '/zfga', component: ZfGa },
{ name: 'wgy3', path: '/wgy3', component: Wgy3 },
{ name: 'znbm', path: '/znbm', component: Znbm },
]
});
const app = createApp(App);
app.use(router);
app.mount('#app');