File tree 8 files changed +3965
-3655
lines changed
8 files changed +3965
-3655
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ An out-of-box UI solution for enterprise applications as a Vue boilerplate. base
9
9
10
10
[ ![ License] ( https://img.shields.io/npm/l/package.json.svg?style=flat )] ( https://github.com/vueComponent/ant-design-vue-pro/blob/master/LICENSE )
11
11
[ ![ Release] ( https://img.shields.io/github/release/vueComponent/ant-design-vue-pro.svg?style=flat )] ( https://github.com/vueComponent/ant-design-vue-pro/releases/latest )
12
+ [ ![ Support Vue Version] ( https://img.shields.io/badge/Support-Vue2-green?style=flat )] ( https://github.com/vueComponent/ant-design-vue-pro/releases/latest )
12
13
[ ![ Travis branch] ( https://travis-ci.org/vueComponent/ant-design-vue-pro.svg?branch=master )] ( https://travis-ci.org/vueComponent/ant-design-vue-pro )
13
14
14
15
</div >
@@ -30,8 +31,8 @@ Overview
30
31
- yarn
31
32
- webpack
32
33
- eslint
33
- - @vue/cli ~ 3
34
- - [ ant-design-vue] ( https://github.com/vueComponent/ant-design-vue ) - Ant Design Of Vue
34
+ - @vue/cli
35
+ - [ ant-design-vue@1.x ] ( https://github.com/vueComponent/ant-design-vue ) - Ant Design Of Vue
35
36
- [ vue-cropper] ( https://github.com/xyxiao001/vue-cropper ) - Picture edit
36
37
- [ @antv/g2 ] ( https://antv.alipay.com/zh-cn/index.html ) - AntV G2
37
38
- [ Viser-vue] ( https://viserjs.github.io/docs.html#/viser/guide/installation ) - Antv/G2 of Vue
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ An out-of-box UI solution for enterprise applications as a Vue boilerplate. base
9
9
10
10
[ ![ License] ( https://img.shields.io/npm/l/package.json.svg?style=flat )] ( https://github.com/vueComponent/ant-design-vue-pro/blob/master/LICENSE )
11
11
[ ![ Release] ( https://img.shields.io/github/release/vueComponent/ant-design-vue-pro.svg?style=flat )] ( https://github.com/vueComponent/ant-design-vue-pro/releases/latest )
12
+ [ ![ Support Vue Version] ( https://img.shields.io/badge/Support-Vue2-green?style=flat )] ( https://github.com/vueComponent/ant-design-vue-pro/releases/latest )
12
13
[ ![ Travis branch] ( https://travis-ci.org/vueComponent/ant-design-vue-pro.svg?branch=master )] ( https://travis-ci.org/vueComponent/ant-design-vue-pro )
13
14
14
15
</div >
@@ -34,8 +35,8 @@ Overview
34
35
- yarn
35
36
- webpack
36
37
- eslint
37
- - @vue/cli ~ 3
38
- - [ ant-design-vue] ( https://github.com/vueComponent/ant-design-vue ) - Ant Design Of Vue 实现
38
+ - @vue/cli
39
+ - [ ant-design-vue@1.x ] ( https://github.com/vueComponent/ant-design-vue ) - Ant Design Of Vue 实现
39
40
- [ vue-cropper] ( https://github.com/xyxiao001/vue-cropper ) - 头像裁剪组件
40
41
- [ @antv/g2 ] ( https://antv.alipay.com/zh-cn/index.html ) - Alipay AntV 数据可视化图表
41
42
- [ Viser-vue] ( https://viserjs.github.io/docs.html#/viser/guide/installation ) - antv/g2 封装实现
Original file line number Diff line number Diff line change 1
1
const IS_PROD = [ 'production' , 'prod' ] . includes ( process . env . NODE_ENV )
2
+ const IS_PREVIEW = process . env . VUE_APP_PREVIEW === 'true'
2
3
3
4
const plugins = [ ]
4
- if ( IS_PROD ) {
5
+ if ( IS_PROD && ! IS_PREVIEW ) {
6
+ // 去除日志的插件,
5
7
plugins . push ( 'transform-remove-console' )
6
8
}
7
9
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-antd-pro" ,
3
- "version" : " 3.0.0 " ,
3
+ "version" : " 3.0.1 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"serve" : " vue-cli-service serve" ,
11
11
"lint:nofix" : " vue-cli-service lint --no-fix"
12
12
},
13
13
"dependencies" : {
14
- "@ant-design-vue/pro-layout" : " ^1.0.7 " ,
14
+ "@ant-design-vue/pro-layout" : " ^1.0.8 " ,
15
15
"@antv/data-set" : " ^0.10.2" ,
16
- "ant-design-vue" : " ^1.7.2 " ,
16
+ "ant-design-vue" : " ^1.7.5 " ,
17
17
"axios" : " ^0.19.0" ,
18
18
"core-js" : " ^3.1.2" ,
19
19
"enquire.js" : " ^2.1.6" ,
55
55
"git-revision-webpack-plugin" : " ^3.0.6" ,
56
56
"less" : " ^3.0.4" ,
57
57
"less-loader" : " ^5.0.0" ,
58
- "opencollective" : " ^1.0.3" ,
59
- "opencollective-postinstall" : " ^2.0.2" ,
60
58
"vue-svg-icon-loader" : " ^2.1.1" ,
61
59
"vue-template-compiler" : " ^2.6.10" ,
62
60
"webpack-theme-color-replacer" : " ^1.3.12"
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export default {
78
78
// preview.pro.antdv.com only use.
79
79
isProPreviewSite: process .env .VUE_APP_PREVIEW === ' true' && process .env .NODE_ENV !== ' development' ,
80
80
// end
81
- isDev: process .env .NODE_ENV === ' development' ,
81
+ isDev: process .env .NODE_ENV === ' development' || process . env . VUE_APP_PREVIEW === ' true ' ,
82
82
83
83
// base
84
84
menus: [],
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ new Vue({
36
36
router,
37
37
store,
38
38
i18n,
39
- // init localstorage, vuex
39
+ // init localstorage, vuex, Logo message
40
40
created : bootstrap ,
41
41
render : h => h ( App )
42
42
} ) . $mount ( '#app' )
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments