add settings (#1707)

This commit is contained in:
花裤衩
2019-03-14 17:11:25 +08:00
committed by GitHub
parent 537ecf9990
commit e855f6a121
10 changed files with 301 additions and 12 deletions

22
src/settings.js Normal file
View File

@@ -0,0 +1,22 @@
export default {
/**
* @type {boolean} true | false
* @description Whether show the settings right-panel
*/
showSettings: true,
/**
* @type {boolean} true | false
* @description Whether need tagsView
*/
tagsView: true,
/**
* @type {string | array} 'production' | ['production','development']
* @description Need show err logs component.
* The default is only used in the production env
* If you want to use it in dev, you can pass ['production','development']
*/
errorLog: 'production'
}