use vant
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import './assets/main.css';
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
|
||||
import 'amfe-flexible'
|
||||
import 'amfe-flexible';
|
||||
import Vant from 'vant'
|
||||
|
||||
import { createApp } from 'vue';
|
||||
import { createPinia } from 'pinia';
|
||||
@@ -8,6 +9,7 @@ import { createPinia } from 'pinia';
|
||||
import App from './App.vue';
|
||||
import router from './router';
|
||||
const app = createApp(App);
|
||||
app.use(Vant);
|
||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||
app.component(key, component);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user