import { createApp } from 'vue'
import './style.css'
import router from "./router";
import { createPinia } from "pinia";
import App from './App.vue'
import NutUI from "@nutui/nutui";
import { IconFont } from '@nutui/icons-vue';
import "@nutui/nutui/dist/style.css";
import VXETable from 'vxe-table';
import 'vxe-table/lib/style.css';
import * as echarts from 'echarts';
import 'vant/lib/index.css';
import infiniteScroll from 'vue3-infinite-scroll-better';
import moment from 'moment';
import './assets/ttf/font.css';

const pinia = createPinia();

const app = createApp(App);
app.config.globalProperties.$echarts = echarts;
app.config.globalProperties.$moment = moment;



app.use(router).use(pinia).use(NutUI).use(IconFont).use(infiniteScroll).mount('#app')
