mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
979af9f234
no-issue This gives greater flexibility in the application which handles the urls for this, allowing the urls to be changed and configured in only one codebase. |
||
---|---|---|
.. | ||
test | ||
.eslintrc.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
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.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests
Copyright & License
Copyright (c) 2019 Ghost Foundation - Released under the MIT license.