react-cms-firestore-editor
v1.5.3
Published
An editor for react-cms-firestore. Edit cms data from the web. Easily integrate this into your own react website.
Downloads
14
Readme
react-cms-firestore-editor
Frontend editor interface to perform CRUD operations on CMS data.
Usage
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>
Firebase config for test environment:
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.
For Developer
Remember to npm run build
before npm publish
.