完成基本架构
This commit is contained in:
31
code/web/task_schedule/src/main.js
Normal file
31
code/web/task_schedule/src/main.js
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* @Author: Kane
|
||||
* @Date: 2023-02-15 09:25:52
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-02-15 09:57:26
|
||||
* @FilePath: /task_schedule/src/main.js
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
import { createApp } from 'vue'
|
||||
import './style.css'
|
||||
import App from './App.vue'
|
||||
|
||||
//css
|
||||
import("element-plus/dist/index.css");
|
||||
|
||||
//element-plus
|
||||
import ElementPlus from "element-plus";
|
||||
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
//注册element-plus的图标
|
||||
for (const [key, component,] of Object.entries(ElementPlusIconsVue))
|
||||
{
|
||||
app.component(key, component);
|
||||
}
|
||||
|
||||
app.use(ElementPlus);
|
||||
app.mount('#app');
|
Reference in New Issue
Block a user