UNPKG

mixone

Version:

MixOne is a Node scaffolding tool implemented based on Vite, used for compiling HTML5, JavasCript, Vue, React and other codes. It supports packaging Web applications with multiple HTML entry points (BS architecture) and desktop installation packages (CS a

17 lines 460 B
// @ts-nocheck import { createApp } from 'vue' import App from './App.vue' import router from './router.ts' import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' import { createPinia } from 'pinia'; import './browser-adap'; const app = createApp(App); // 创建 Pinia 存储库 const pinia = createPinia(); // 将 Pinia 插件添加到 Vue 应用中 app.use(pinia); // 注册路由 app.use(router); app.use(ElementPlus) app.mount("#app");