mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
/*
|
|
* @Author: lixg lixg@dongwu-inc.com
|
|
* @Date: 2022-11-09 09:26:26
|
|
* @LastEditors: lixg lixg@dongwu-inc.com
|
|
* @LastEditTime: 2022-11-26 14:54:37
|
|
* @FilePath: /fe-manage/src/main.js
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import store from './store'
|
|
// import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
// import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|
import "@/assets/scss/common.scss"
|
|
import Antd from 'ant-design-vue';
|
|
import 'ant-design-vue/dist/antd.css';
|
|
import {vButPer} from "@/utils/directive";
|
|
// import axios from 'axios'
|
|
// axios.defaults.withCredentials = true;
|
|
// import zhCN from 'ant-design-vue/es/locale/zh_CN';
|
|
const app = createApp(App)
|
|
// 清理控制台warn信息
|
|
app.config.warnHandler = () => null;
|
|
// app.use(ElementPlus, {
|
|
// locale: zhCn,
|
|
// })
|
|
app.use(Antd);
|
|
app.use(router);
|
|
app.use(store);
|
|
app.directive('buttonPer', vButPer)
|
|
app.mount('#app');
|