xushunfa459 bb8a597e19 update
2022-06-30 19:27:52 +08:00

21 lines
456 B
TypeScript

import { createApp } from 'vue';
import App from './App.vue';
import { nutUiComponents } from './plugins/nutUI';
import { i18n } from '/@/i18n';
import router from './router';
import { setupStore } from '/@/store';
import './assets/font/iconfont.css';
import './assets/app.css';
const app = createApp(App);
app.use(router);
setupStore(app);
app.use(i18n);
app.mount('#app');
// nutUi按需加载
nutUiComponents.forEach((item) => {
app.use(item);
});