react-firebase-roles-editor
v1.2.2
Published
An editor for firebase-roles. Edit roles from the web. Easily integrate this into your own react website.
Downloads
4
Maintainers
Readme
react-firebase-roles-editor
Frontend editor interface to perform CRUD operations on CMS data.
Usage
Ensure Firebase has been initialized before anything else is done.
const RolesScreen = import('firestore-roles-editor');
// ...
// Route to it
// ...
<Route path={`${ROUTE_ROLE}/*`><RolesScreen/></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.
See SERVER_CONFIG_README.md
in src/Config
.
You add the config file SERVER_CONFIG.json
at that level.
That config file gets ignored by version control.
For Developer
Remember to npm run build
before npm publish
.