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.
21 lines
390 B
21 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);
|
|
|
|
// 安装vant插件
|
|
setupVant(app);
|
|
|
|
app.config.globalProperties.$$refs = {};
|
|
|
|
// if (import.meta.env.DEV) {
|
|
window.$$refs = app.config.globalProperties.$$refs;
|
|
// }
|
|
|
|
app.use(router).mount('#app');
|
|
|