Ghost/ghost/members-theme-bindings
Fabien O'Carroll 33ff98f789 Published new versions
- @tryghost/magic-link@0.1.0
 - @tryghost/members-api@0.4.0
 - @tryghost/members-auth-pages@1.1.1
 - @tryghost/members-browser-auth@0.2.1
 - @tryghost/members-gateway-api@0.1.5
 - @tryghost/members-gateway-protocol@0.1.3
 - @tryghost/members-ssr@0.3.0
 - @tryghost/members-theme-bindings@0.2.4
2019-09-03 18:25:17 +08:00
..
test Added members-theme-bindings module 2019-04-23 16:42:11 +02:00
.eslintrc.js Added members-theme-bindings module 2019-04-23 16:42:11 +02:00
index.js Fixed createSession call on signedin event 2019-06-25 14:52:42 +07:00
LICENSE Added members-theme-bindings module 2019-04-23 16:42:11 +02:00
package.json Published new versions 2019-09-03 18:25:17 +08:00
README.md Updated init method to take siteUrl named param 2019-04-23 16:42:11 +02:00

Members Theme Bindings

Install

npm install @tryghost/members-theme-bindings --save

or

yarn add @tryghost/members-theme-bindings

Usage

const MembersThemeBindings = require('@tryghost/members-theme-bindings');

MembersThemeBindings.init({siteUrl: "https://ghost-site.com/root-ghost-path"});

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.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2019 Ghost Foundation - Released under the MIT license.