From 2a32569625f5289dcf33f28c46e5b4ea54f79f58 Mon Sep 17 00:00:00 2001 From: chuzhixin <1204505056@qq.com> Date: Mon, 5 Oct 2020 17:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=B7=BB=E5=8A=A0=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/config/config.js | 1 + vue.config.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9cb48b5..dd500d2 100644 --- a/package.json +++ b/package.json @@ -20,10 +20,10 @@ "js-cookie": "^3.0.0-rc.1", "mockjs": "^1.1.0", "remixicon": "^2.5.0", + "vab-config": "0.0.2", "vue": "^3.0.0", "vue-router": "^4.0.0-beta.13", - "vuex": "^4.0.0-beta.4", - "zx-layouts": "^0.6.15" + "vuex": "^4.0.0-beta.4" }, "devDependencies": { "@vue/cli-plugin-babel": "^4.5.6", diff --git a/src/config/config.js b/src/config/config.js index e9a470a..a6dc63f 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -3,5 +3,6 @@ **/ const config = { layout: "gallery", + donation: true, }; module.exports = config; diff --git a/vue.config.js b/vue.config.js index b4c1210..b4490ed 100644 --- a/vue.config.js +++ b/vue.config.js @@ -21,7 +21,7 @@ const { webpackBarName, webpackBanner, donationConsole, -} = require("zx-layouts"); +} = require("vab-config"); if (donation) donationConsole(); const { version, author } = require("./package.json");