File tree Expand file tree Collapse file tree 8 files changed +3965
-3655
lines changed Expand file tree Collapse file tree 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
99
1010[ ![ License] ( https://img.shields.io/npm/l/package.json.svg?style=flat )] ( https://github.com/vueComponent/ant-design-vue-pro/blob/master/LICENSE )
1111[ ![ 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 )
1213[ ![ Travis branch] ( https://travis-ci.org/vueComponent/ant-design-vue-pro.svg?branch=master )] ( https://travis-ci.org/vueComponent/ant-design-vue-pro )
1314
1415</div >
@@ -30,8 +31,8 @@ Overview
3031- yarn
3132- webpack
3233- 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
3536- [ vue-cropper] ( https://github.com/xyxiao001/vue-cropper ) - Picture edit
3637- [ @antv/g2 ] ( https://antv.alipay.com/zh-cn/index.html ) - AntV G2
3738- [ 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
99
1010[ ![ License] ( https://img.shields.io/npm/l/package.json.svg?style=flat )] ( https://github.com/vueComponent/ant-design-vue-pro/blob/master/LICENSE )
1111[ ![ 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 )
1213[ ![ Travis branch] ( https://travis-ci.org/vueComponent/ant-design-vue-pro.svg?branch=master )] ( https://travis-ci.org/vueComponent/ant-design-vue-pro )
1314
1415</div >
@@ -34,8 +35,8 @@ Overview
3435- yarn
3536- webpack
3637- 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 实现
3940- [ vue-cropper] ( https://github.com/xyxiao001/vue-cropper ) - 头像裁剪组件
4041- [ @antv/g2 ] ( https://antv.alipay.com/zh-cn/index.html ) - Alipay AntV 数据可视化图表
4142- [ Viser-vue] ( https://viserjs.github.io/docs.html#/viser/guide/installation ) - antv/g2 封装实现
Original file line number Diff line number Diff line change 11const IS_PROD = [ 'production' , 'prod' ] . includes ( process . env . NODE_ENV )
2+ const IS_PREVIEW = process . env . VUE_APP_PREVIEW === 'true'
23
34const plugins = [ ]
4- if ( IS_PROD ) {
5+ if ( IS_PROD && ! IS_PREVIEW ) {
6+ // 去除日志的插件,
57 plugins . push ( 'transform-remove-console' )
68}
79
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-antd-pro" ,
3- "version" : " 3.0.0 " ,
3+ "version" : " 3.0.1 " ,
44 "private" : true ,
55 "scripts" : {
66 "serve" : " vue-cli-service serve" ,
1111 "lint:nofix" : " vue-cli-service lint --no-fix"
1212 },
1313 "dependencies" : {
14- "@ant-design-vue/pro-layout" : " ^1.0.7 " ,
14+ "@ant-design-vue/pro-layout" : " ^1.0.8 " ,
1515 "@antv/data-set" : " ^0.10.2" ,
16- "ant-design-vue" : " ^1.7.2 " ,
16+ "ant-design-vue" : " ^1.7.5 " ,
1717 "axios" : " ^0.19.0" ,
1818 "core-js" : " ^3.1.2" ,
1919 "enquire.js" : " ^2.1.6" ,
5555 "git-revision-webpack-plugin" : " ^3.0.6" ,
5656 "less" : " ^3.0.4" ,
5757 "less-loader" : " ^5.0.0" ,
58- "opencollective" : " ^1.0.3" ,
59- "opencollective-postinstall" : " ^2.0.2" ,
6058 "vue-svg-icon-loader" : " ^2.1.1" ,
6159 "vue-template-compiler" : " ^2.6.10" ,
6260 "webpack-theme-color-replacer" : " ^1.3.12"
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export default {
7878 // preview.pro.antdv.com only use.
7979 isProPreviewSite: process .env .VUE_APP_PREVIEW === ' true' && process .env .NODE_ENV !== ' development' ,
8080 // end
81- isDev: process .env .NODE_ENV === ' development' ,
81+ isDev: process .env .NODE_ENV === ' development' || process . env . VUE_APP_PREVIEW === ' true ' ,
8282
8383 // base
8484 menus: [],
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ new Vue({
3636 router,
3737 store,
3838 i18n,
39- // init localstorage, vuex
39+ // init localstorage, vuex, Logo message
4040 created : bootstrap ,
4141 render : h => h ( App )
4242} ) . $mount ( '#app' )
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments