micro-app/packages/icpx-platform/pages/main.ts
2023-05-30 19:27:03 +08:00

12 lines
289 B
TypeScript

// 这是一个多页面示例,没有 store、没有 router
import 'ant-design-vue/dist/antd.variable.less';
import { Button } from 'ant-design-vue';
import { createApp } from 'vue';
import App from '../src/SubApp.vue';
const app = createApp(App);
app.use(Button);
app.mount('#app');