Ghost/ghost/sdk/theme-dropin
Fabien O'Carroll 51be84182d Updated members sdks for third party use (#25)
* Pass container from layer2 for iframes to be attached

* Updated layer2 to resolve with success for auth page methods

* Updated theme dropin to reload when auth method succeeds
2018-12-10 15:55:10 +07:00
..
src Updated members sdks for third party use (#25) 2018-12-10 15:55:10 +07:00
.eslintrc.js Created drop-in script module for ghost themes (#19) 2018-11-15 14:36:51 +07:00
.gitignore Members update (#24) 2018-12-07 14:32:23 +05:30
LICENSE Created drop-in script module for ghost themes (#19) 2018-11-15 14:36:51 +07:00
nwb.config.js Created drop-in script module for ghost themes (#19) 2018-11-15 14:36:51 +07:00
package.json Updated member layers (#23) 2018-12-04 09:24:04 +05:30
README.md Created drop-in script module for ghost themes (#19) 2018-11-15 14:36:51 +07:00
yarn.lock Update position of auth iFrame 2018-12-04 19:42:47 +01:00

Members Drop-in script for Ghost themes

Prerequisites

Node.js >= 6 must be installed.

Installation

  • Running yarn install in the module's root directory will install everything you need for development.

Building

  • yarn build will build the module for publishing to npm as well as umd build for script tag.

  • yarn clean clean will delete built resources.

Usage

<script src="members-theme-dropin.min.js"></script>

Script is setup to auto-execute on load if it finds relevant data on page.

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.