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 • 453 B
text/typescript
// @ts-nocheck
import { createApp } from 'vue'
import App from './App.vue'
import router from './router.ts'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.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(Antd);
app.mount("#app");