From a2ddb392e61f3f97cf54a7fedadc1470fd58ced8 Mon Sep 17 00:00:00 2001 From: chuzhixin <1204505056@qq.com> Date: Fri, 23 Oct 2020 10:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20feat:=20Auto=20export=20public=20la?= =?UTF-8?q?yout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/colorfulIcon/index.js | 2 +- src/config/config.js | 4 +--- src/layouts/components/Ad/index.vue | 1 + src/layouts/components/NavBar/index.vue | 15 -------------- src/layouts/components/index.js | 27 ++----------------------- src/layouts/export.js | 20 ++++++++++++++++++ src/layouts/index.vue | 9 --------- src/main.js | 1 + src/plugins/index.js | 5 ++--- src/remixIcon/index.js | 2 +- 11 files changed, 31 insertions(+), 59 deletions(-) create mode 100644 src/layouts/export.js diff --git a/package.json b/package.json index 5c63aa9..13bccef 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "zx-comparison": "^1.0.3", "zx-count": "^0.3.7", "zx-icon": "^1.1.10", - "zx-layouts": "^0.6.15", + "zx-layouts": "^0.6.16", "zx-magnifie": "^0.4.0", "zx-markdown-editor": "^0.0.2", "zx-player": "^1.0.1", @@ -86,7 +86,7 @@ "plop": "^2.7.4", "prettier": "^2.1.2", "sass": "^1.27.0", - "sass-loader": "^10.0.3", + "sass-loader": "^10.0.4", "stylelint": "^13.7.2", "stylelint-config-prettier": "^8.0.2", "stylelint-config-recess-order": "^2.2.0", diff --git a/src/colorfulIcon/index.js b/src/colorfulIcon/index.js index f68c32a..bc47135 100644 --- a/src/colorfulIcon/index.js +++ b/src/colorfulIcon/index.js @@ -1,5 +1,5 @@ import Vue from 'vue' -import { ColorfullIcon } from '@/layouts/components' +import ColorfullIcon from 'zx-layouts/ColorfullIcon' Vue.component('VabColorfulIcon', ColorfullIcon) const req = require.context('./svg', false, /\.svg$/), diff --git a/src/config/config.js b/src/config/config.js index 32a7f46..0a5155a 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -1,7 +1,5 @@ /** * @description 导出自定义配置 **/ -const config = { - layout: 'vertical', -} +const config = {} module.exports = config diff --git a/src/layouts/components/Ad/index.vue b/src/layouts/components/Ad/index.vue index 67c4d60..c13f239 100644 --- a/src/layouts/components/Ad/index.vue +++ b/src/layouts/components/Ad/index.vue @@ -18,6 +18,7 @@