1.0.11 • Published 4 years ago
firestore-cms-iframe v1.0.11
firestore-cms-iframe
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.
Install
npm install --save firestore-cms-iframe
Publish
Github Pages $ npm run deploy
npm $ npm publish
Live Demo
https://gieoon.github.io/firestore-cms-iframe/
Usage
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>
}
}
License
MIT © gieoon
Resources
Build with create-react-library