import { createApp } from 'vue';
|
import Antd from 'ant-design-vue';
|
|
import App from './App.vue';
|
import './assets/global.less';
|
import 'ant-design-vue/dist/reset.css';
|
import {createPinia} from "pinia";
|
import components from './components/global';
|
import Router from './router/index';
|
|
|
const app = createApp(App)
|
app.config.productionTip = false
|
|
// components
|
for (const i in components) {
|
app.component(i, components[i])
|
}
|
|
app.use(createPinia()).use(Antd).use(Router).mount('#app')
|