github.com/xxf098/lite-proxy@v0.15.1-0.20230422081941-12c69f323218/web/gui/src/main.js (about)

     1  import { createApp } from 'vue'
     2  import ElementPlus from 'element-plus'
     3  import 'element-plus/dist/index.css'
     4  import * as ElementPlusIconsVue from '@element-plus/icons-vue'
     5  import App from './App.vue'
     6  
     7  const app = createApp(App);
     8  for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
     9      app.component(key, component)
    10    }
    11  app.use(ElementPlus);
    12  app.mount('#app')