UNPKG

logic-helper

Version:

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

26 lines (23 loc) 716 B
import { createApp } from "vue"; import App from "./App.vue"; import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' import './assets/common.scss' import './assets/index.scss' import * as ElementPlusIconsVue from '@element-plus/icons-vue' import 'xe-utils' import VXETable from 'vxe-table' import 'vxe-table/lib/style.css' import store from './store/index.js' import piniaPersist from 'pinia-plugin-persist' import router from './router/index.js' store.use(piniaPersist) const app = createApp(App); app.use(ElementPlus) app.use(router); for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app.component(key, component) } app.use(VXETable) app.use(store) app.mount("#app");