A Content Management System for an authenticated Firestore user who modifies their website from an external iframe
This is to be used to listen to a parent iframe, then trigger editable components and return them to the parent to be saved.
npm install --save firestore-cms-iframe
Github Pages $ npm run deploy
npm $ npm publish
https://gieoon.github.io/firestore-cms-iframe/
import React, { Component } from 'react'
import CMS from 'firestore-cms-iframe'
// Add to your App.js.
class Example extends Component {
render() {
return <MyWebsite>
<CMS allowedOrigins={["<my-example-domain.com>"]} templates={{}} />
</ MyWebsite>
}
}
MIT © gieoon
Build with create-react-library