From 41708348bd59dbef4eba0b6cdd4b7d5d53af90bd Mon Sep 17 00:00:00 2001 From: Peter Zhao Date: Wed, 17 Jul 2019 20:58:33 +0800 Subject: [PATCH] doc: Update defaultOptions --- docs/i18n/zh_cn.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/docs/i18n/zh_cn.md b/docs/i18n/zh_cn.md index 3d60d9c..3206492 100644 --- a/docs/i18n/zh_cn.md +++ b/docs/i18n/zh_cn.md @@ -215,26 +215,34 @@ const webpackConfig = { ```javascript const pluginDefaultConfig = { port: '8989', + // ['spin', 'chiaroscuro', 'shine'], + loading: 'spin', text: { color: '#EEEEEE' }, image: { - shape: 'rect', // `rect` | `circle` + // `rect` | `circle` + shape: 'rect', color: '#EFEFEF', shapeOpposite: [] }, button: { color: '#EFEFEF', - excludes: [] + excludes: [] }, svg: { + // or transparent color: '#EFEFEF', - shape: 'circle', // circle | rect + // circle | rect + shape: 'circle', shapeOpposite: [] }, pseudo: { - color: '#EFEFEF', // or transparent - shape: 'circle' // circle | rect + // or transparent + color: '#EFEFEF', + // circle | rect + shape: 'circle', + shapeOpposite: [] }, device: 'iPhone 6 Plus', debug: false, @@ -250,8 +258,9 @@ const pluginDefaultConfig = { hide: [], grayBlock: [], cookies: [], - storagies: {}, - sessionStoragies: {}, + headless: true, + h5Only: false, + // or 'vw|vh|vmin|vmax' cssUnit: 'rem', decimal: 4, logLevel: 'info',