Skip to content

A Content Management System for an authenticated Firestor e user who modifies their website from an external iframe

Notifications You must be signed in to change notification settings

gieoon/firestore-cms-iframe

Repository files navigation

firestore-cms-iframe

A Content Management System for an authenticated Firestore user who modifies their website from an external iframe

NPM JavaScript Style Guide

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

About

A Content Management System for an authenticated Firestor e user who modifies their website from an external iframe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published