Frontend editor interface to perform CRUD operations on CMS data.
Ensure Firebase has been initialized before anything else is done.
const CmsScreen = import('react-cms-firestore-editor');
// ...
// Route to it
// ...
<Route path={`${ROUTE_CMS}/*`><CmsScreen/></Route>
See FIREBASE_CONFIG_README.md
in src/Config
.
You add the config file FIREBASE_CONFIG.json
at that level.
That config file gets ignored by version control.
Remember to npm run build
before npm publish
.