From 7727f8746e80b6e3e6abf7df5f90fd48f1ebc3dd Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 07 Apr 2024 15:12:11 +0800
Subject: [PATCH] new

---
 src/main.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/main.js b/src/main.js
index a6dd56f..9d2c9b4 100644
--- a/src/main.js
+++ b/src/main.js
@@ -12,7 +12,9 @@
 import themePluginConfig from '../config/themePluginConfig'
 // mock
 // WARNING: `mockjs` NOT SUPPORT `IE` PLEASE DO NOT USE IN `production` ENV.
+// import Antd from 'ant-design-vue'
 
+// import 'ant-design-vue/dist/reset.css'
 import bootstrap from './core/bootstrap'
 import './core/lazy_use' // use lazy load components
 import './permission' // permission control
@@ -21,10 +23,14 @@
 // window['console']['log'] = function () {} // global style
 
 Vue.config.productionTip = false
+import ElementUI from 'element-ui'
+import 'element-ui/lib/theme-chalk/index.css'
+Vue.use(ElementUI)
 
 Vue.prototype.$host = process.env.VUE_APP_API_BASE_URL
 // mount axios to `Vue.$http` and `this.$http`
 Vue.use(VueAxios)
+// Vue.use(Antd)
 // use pro-layout components
 Vue.component('pro-layout', ProLayout)
 Vue.component('page-container', PageHeaderWrapper)
@@ -38,5 +44,5 @@
   i18n,
   // init localstorage, vuex, Logo message
   created: bootstrap,
-  render: (h) => h(App)
+  render: (h) => h(App),
 }).$mount('#app')

--
Gitblit v1.9.3