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

19 lines
358 B

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