desktop_task_schedule/code/web/task_schedule/src/main.js

32 lines
694 B
JavaScript
Raw Normal View History

2023-02-15 05:07:17 +00:00
/*
* @Author: Kane
* @Date: 2023-02-15 09:25:52
* @LastEditors: Kane
2023-02-15 10:23:32 +00:00
* @LastEditTime: 2023-02-15 16:21:24
2023-02-15 05:07:17 +00:00
* @FilePath: /task_schedule/src/main.js
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
2023-02-15 10:23:32 +00:00
import { createApp } from 'vue';
import './style.css';
import App from './App.vue';
2023-02-15 05:07:17 +00:00
//css
import("element-plus/dist/index.css");
//element-plus
2023-02-15 10:23:32 +00:00
import ElementPlus from "element-plus";;
2023-02-15 05:07:17 +00:00
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');