Package Exports
- react-firebase-roles-editor
- react-firebase-roles-editor/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-firebase-roles-editor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.