Ghost/ghost/sdk/theme-dropin/README.md
Rishabh Garg 56bbc14d43 Created drop-in script module for ghost themes (#19)
* Added WIP drop-in script for prototype

* Cleaned up theme dropping script module

- Updated layer2 to work with reload as an option, as well as sign-in cta on the page

* Handle cat failure

* Updated SDK data attires

* Used commonjs exports

* Used browserify for the build
2018-11-15 14:36:51 +07:00

784 B

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.