27 lines
		
	
	
		
			650 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			650 B
		
	
	
	
		
			JavaScript
		
	
	
	
| import ElementPlus from 'element-plus'
 | |
| import 'element-plus/dist/index.css'
 | |
| import 'element-plus/theme-chalk/display.css'
 | |
| import scui from './scui'
 | |
| import ehsui from './ehs'
 | |
| import i18n from './locales'
 | |
| import router from './router'
 | |
| import store from './store'
 | |
| import { createApp } from 'vue'
 | |
| import App from './App.vue'
 | |
| import * as ElementPlusIconsVue from '@element-plus/icons-vue'
 | |
| 
 | |
| const app = createApp(App);
 | |
| 
 | |
| app.use(store);
 | |
| app.use(router);
 | |
| app.use(ElementPlus);
 | |
| app.use(i18n);
 | |
| app.use(scui);
 | |
| app.use(ehsui);
 | |
| 
 | |
| //挂载app
 | |
| app.mount('#app');
 | |
| for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
 | |
| 	app.component(key, component)
 | |
| }
 |