12 行
659 B
TypeScript
12 行
659 B
TypeScript
import { createApp } from 'vue';
|
|
import { createRouter, createWebHistory } from 'vue-router';
|
|
import ElementPlus from 'element-plus';
|
|
import 'element-plus/dist/index.css';
|
|
import 'element-plus/theme-chalk/dark/css-vars.css';
|
|
import '@/assets/styles/index.scss';
|
|
import Index from '@/views/datagov/dataops/scheduling/index.vue';
|
|
import App from './App.vue';
|
|
import Empty from './Empty.vue';
|
|
const router = createRouter({ history: createWebHistory(), routes: [{ path: '/:pathMatch(.*)*', component: Index }] });
|
|
createApp(App).use(router).use(ElementPlus).directive('hasPermi', {}).component('RightToolbar', Empty).component('Pagination', Empty).mount('#app');
|