Browse Source

feat: npm install ElementUI

wangyuan 2 years ago
parent
commit
f2f972da10
3 changed files with 7 additions and 10728 deletions
  1. 1 10728
      package-lock.json
  2. 1 0
      package.json
  3. 5 0
      src/main.js

File diff suppressed because it is too large
+ 1 - 10728
package-lock.json


+ 1 - 0
package.json

@@ -9,6 +9,7 @@
   },
   "dependencies": {
     "core-js": "^3.8.3",
+    "element-ui": "^2.15.10",
     "qrcodejs2": "^0.0.2",
     "vue": "^2.6.14"
   },

+ 5 - 0
src/main.js

@@ -1,6 +1,11 @@
 import Vue from 'vue'
 import App from './App.vue'
 
+import ElementUI from 'element-ui';
+import 'element-ui/lib/theme-chalk/index.css';
+
+Vue.use(ElementUI);
+
 Vue.config.productionTip = false
 
 new Vue({

Some files were not shown because too many files changed in this diff