Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,26 +230,34 @@ Re-package the application with webpack. When the page is restarted, you can see
```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,
Expand All @@ -265,8 +273,9 @@ const pluginDefaultConfig = {
hide: [],
grayBlock: [],
cookies: [],
storagies: {},
sessionStoragies: {},
headless: true,
h5Only: false,
// or 'vw|vh|vmin|vmax'
cssUnit: 'rem',
decimal: 4,
logLevel: 'info',
Expand Down