You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vite-vue3-lowcode/preview/main.ts

22 lines
390 B

import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import { setupVant } from '@/plugins/vant';
import 'animate.css';
const app = createApp(App);
4 years ago
// 安装vant插件
setupVant(app);
4 years ago
app.config.globalProperties.$$refs = {};
// if (import.meta.env.DEV) {
window.$$refs = app.config.globalProperties.$$refs;
// }
app.use(router).mount('#app');