添加全局配置

This commit is contained in:
chuzhixin 2020-10-05 17:32:56 +08:00
parent 810c2dd588
commit 2a32569625
3 changed files with 4 additions and 3 deletions

View File

@ -20,10 +20,10 @@
"js-cookie": "^3.0.0-rc.1", "js-cookie": "^3.0.0-rc.1",
"mockjs": "^1.1.0", "mockjs": "^1.1.0",
"remixicon": "^2.5.0", "remixicon": "^2.5.0",
"vab-config": "0.0.2",
"vue": "^3.0.0", "vue": "^3.0.0",
"vue-router": "^4.0.0-beta.13", "vue-router": "^4.0.0-beta.13",
"vuex": "^4.0.0-beta.4", "vuex": "^4.0.0-beta.4"
"zx-layouts": "^0.6.15"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^4.5.6", "@vue/cli-plugin-babel": "^4.5.6",

View File

@ -3,5 +3,6 @@
**/ **/
const config = { const config = {
layout: "gallery", layout: "gallery",
donation: true,
}; };
module.exports = config; module.exports = config;

View File

@ -21,7 +21,7 @@ const {
webpackBarName, webpackBarName,
webpackBanner, webpackBanner,
donationConsole, donationConsole,
} = require("zx-layouts"); } = require("vab-config");
if (donation) donationConsole(); if (donation) donationConsole();
const { version, author } = require("./package.json"); const { version, author } = require("./package.json");