Skip to content

Commit

Permalink
Update ghost.mdx (#8518)
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
sgalcheung and sarah11918 authored Jun 14, 2024
1 parent 6a47a87 commit 464e540
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/content/docs/en/guides/cms/ghost.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,25 @@ Your root directory should now include these new files:

### Installing dependencies

To connect with Ghost, install the official content API wrapper [`@tryghost/content-api`](https://www.npmjs.com/package/@tryghost/content-api) using the command below for your preferred package manager:
To connect with Ghost, install the official content API wrapper [`@tryghost/content-api`](https://www.npmjs.com/package/@tryghost/content-api) using the command below for your preferred package manager, and optionally, a helpful package containing type definitions if you are using TypeScript:

<PackageManagerTabs>
<Fragment slot="npm">
```shell
npm install @tryghost/content-api
npm install --save @types/tryghost__content-api
```
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm add @tryghost/content-api
pnpm add --save-dev @types/tryghost__content-api
```
</Fragment>
<Fragment slot="yarn">
```shell
yarn add @tryghost/content-api
yarn add --dev @types/tryghost__content-api
```
</Fragment>
</PackageManagerTabs>
Expand Down

0 comments on commit 464e540

Please sign in to comment.