Configuration
Configuration
You can configure extension from fow-extension.json file.
{
"name": "Awesome Extension",
"extension": {
"configuration": {
"key": "configuration",
"type": "configuration",
"fileName": "Configuration.js"
},
"components": [
{
"key": "tab-component",
"type": "tab",
"fileName": "Tab.js",
"properties": {
"key": "tab",
"label": "Awesome Tab"
},
"scopes": [
"contact.detail",
"lead.detail"
]
},
{
"key": "page",
"type": "page",
"fileName": "Page.js",
"properties": {
"key": "page",
"label": "Awesome Page",
"path": "awesome-extension/home"
},
"scopes": [
"giant.menu"
]
}
]
}
}
Extension Folders
If you create a extension with fow-cli, you have these folders:
configuration : For webpack configuration
fow-packages : Auto crate at first build and store uploadeble zip file.
src : All codes placed in this folder.
src/component : Custom Component placed in this folder.