mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
51be84182d
* 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 |
||
---|---|---|
.. | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
LICENSE | ||
nwb.config.js | ||
package.json | ||
README.md | ||
yarn.lock |
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 asumd
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.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.