This page is part of the App Framework Documentation
Configure your application easily in the app/config.json file. For details, please read the Workflow section.
Option | Allowed | Default |
---|---|---|
title | string | My App |
defaultLanguage | /^[a-z]{2}$/ | en |
defaultLanguageFallback | boolean | false |
theme | ios, material, ios-material, material-ios | material |
color | /^[a-z]+$/ | indigo |
layout | default, white, dark | default |
statusbarVisibility | boolean | true |
statusbarTextColor | black, white | white |
statusbarBackgroundColor | /^#[0-9a-f]{6}$/i | #000000 |
iconBackgroundColor | /^#[0-9a-f]{6}$/i | #ffffff |
useIconFonts | object | |
framework7 | boolean | false |
material | boolean | false |
ion | boolean | false |
fontawesome | boolean | false |
limitApplicationWidth | /^[0-9]+$/ | 320 |
limitApplicationHeight | /^[0-9]+$/ | 570 |
limitedSizeBodyBackgroundColor | /^#[0-9a-f]{6}$/i | #333333 |
showPhoneFrameOnDesktop | boolean | true |
phoneFrameBodyBackgroundColor | /^#[0-9a-f]{6}$/i | #fafafa |
framework7parameters | object | {} |
materialSubnavbarFix | boolean | true |
restoreHistory | boolean | true |
restoreComponentData | boolean | true |
completeRoutesFile | boolean | true |
firebase | object | |
apiKey | string | |
authDomain | string | |
databaseURL | string | |
storageBucket | string | |
projectId | string | |
allowEmailLogin | boolean | false |
allowEmailRegistration | boolean | false |
devFirebase | object | |
deployDevRulesOnTesting | boolean | false |
apiKey | string | |
authDomain | string | |
databaseURL | string | |
storageBucket | string | |
projectId | string | |
allowEmailLogin | boolean | false |
allowEmailRegistration | boolean | false |
loginRequiredForAllPages | boolean | false |
appStoreId | string | |
playStoreId | string | |
useCordovaPlugins | array | [] |
cordovaPreferences | object | {"DisallowOverscroll":true} |
resetLocalStorageOnVersionChange | boolean | false |
preloadImages | boolean | true |
buildSourcemaps | boolean | false |
editorConfig | object | {"root":"true","[*]":null,"indent_style":"space","indent_size":"2","charset":"utf-8","trim_trailing_whitespace":"true","insert_final_newline":"true","end_of_line":"lf","max_line_length":"null"} |
eslint | object | |
extends | airbnb, standard | airbnb |
rules | object | {"semi":["error","never"]} |
fixCodeOnTest | boolean | true |
fixCodeOnBuild | boolean | true |
devServerPort | /^[0-9]{4}$/ | 8080 |
gitignore | object | {} |
npmignore | object | {} |
debug | boolean | false |