askbot-dragon 0.9.2 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/babel.config.js CHANGED
@@ -1,5 +1,6 @@
1
1
  module.exports = {
2
2
  presets: [
3
- '@vue/cli-plugin-babel/preset'
4
- ]
3
+ '@vue/cli-plugin-babel/preset',
4
+ ],
5
+ // "presets": [["@babel/preset-env", { "modules": false }]]
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "0.9.2",
3
+ "version": "0.9.5",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -12,11 +12,10 @@
12
12
  "ali-oss": "^6.2.1",
13
13
  "ckeditor": "^4.12.1",
14
14
  "core-js": "^3.6.5",
15
- "element-ui": "^2.13.2",
16
15
  "install": "^0.13.0",
17
16
  "jquery": "^3.5.1",
18
17
  "uuid": "^8.3.2",
19
- "vant": "^2.10.14",
18
+ "vant": "^2.12.51",
20
19
  "vconsole": "^3.9.1",
21
20
  "vue": "^2.6.11",
22
21
  "vue-resource": "^1.5.1",
@@ -28,6 +27,7 @@
28
27
  "@vue/cli-plugin-eslint": "~4.5.0",
29
28
  "@vue/cli-service": "~4.5.0",
30
29
  "babel-eslint": "^10.1.0",
30
+ "element-ui": "^2.15.10",
31
31
  "eslint": "^6.7.2",
32
32
  "eslint-plugin-vue": "^6.2.2",
33
33
  "less": "^3.12.2",
package/public/index.html CHANGED
@@ -13,6 +13,19 @@
13
13
  <link rel="stylesheet" href="//at.alicdn.com/t/font_2913049_aukej8oi7nm.css"/>
14
14
  <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
15
15
  <script src="https://static.guoranbot.com/ckeditor5-build-classic/0.3.7/build/ckeditor.js"></script>
16
+
17
+ <!-- vue -->
18
+ <!-- <script src="https://static.guoranbot.com/vue/2.6.11/dist/vue.min.js"></script>
19
+ <script src="https://static.guoranbot.com/vue-router/3.3.2/dist/vue-router.min.js"></script> -->
20
+
21
+ <!-- element -->
22
+ <!-- <script src="https://static.guoranbot.com/element-ui/2.13.2/lib/index.js"></script>
23
+ <link rel="stylesheet" href="https://static.guoranbot.com/element-ui/2.13.2/lib/theme-chalk/index.css"> -->
24
+
25
+ <!-- vant -->
26
+ <!-- <script src="https://static.guoranbot.com/vant/2.12/lib/vant.min.js"></script>
27
+ <link rel="stylesheet" href="https://static.guoranbot.com/vant/2.12/lib/index.css" /> -->
28
+
16
29
  <style>
17
30
  *{
18
31
  margin: 0;
package/src/main.js CHANGED
@@ -4,7 +4,7 @@ import VueResource from 'vue-resource'
4
4
  import ElementUI from 'element-ui';
5
5
  import { requestUrl } from './api/index';
6
6
  import { utils } from '../src/components/utils/index';
7
- /*import 'element-ui/lib/theme-chalk/index.css';*/
7
+ // /*import 'element-ui/lib/theme-chalk/index.css';*/
8
8
  import './assets/theme/index.css'
9
9
  import 'video.js/dist/video-js.css'
10
10
  import Vant from 'vant';
package/vue.config.js CHANGED
@@ -36,7 +36,11 @@ module.exports = {
36
36
  },
37
37
  configureWebpack: {
38
38
  externals: {
39
- // 'vant': 'vant',
39
+ // 'vue': 'Vue',
40
+ // 属性名称 element-ui, 表示遇到 import xxx from 'element-ui' 这类引入 'element-ui'的,
41
+ // 不去 node_modules 中找,而是去找 全局变量 ELEMENT
42
+ // 'element-ui': 'ELEMENT',
43
+ // 'vant': 'Vant',
40
44
  'ckeditor': 'CKEDITOR',
41
45
  },
42
46
  },