github.com/laof/lite-speed-test@v0.0.0-20230930011949-1f39b7037845/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')