Appearance
Installing
GRID/CMS is available as an extension in the Firebase Extension Hub.
It will create a single conflict free cloud-function in the project.
Once installed all schema config will happen in the UI of the CMS.
Hosting alias
It's recommended to alias the cloud-function in your hosting config.
json
// firebase.json
{
...
"hosting": {
...
"rewrites": [
{
"source": "/admin/**", // Choose desired CMS path
"function": "ext-grid-cms-server" // Function name
}
]
},
...
}
Alternative CLI instructions
The extension can also be installed directly using the Firebase CLI.
firebase ext:install grid/grid-cms
Installed extensions can also be synced to code using:
firebase ext:export