docs: integrations: yarn & pnpm (#4836)

This commit is contained in:
Michael Rienstra 2022-09-22 04:16:02 -07:00 committed by GitHub
parent 2c2bbc5158
commit b0efb83252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 30 additions and 5 deletions

View file

@ -6,8 +6,13 @@ An SSR adapter for use with Cloudflare Pages Functions targets. Write your code
Add the Cloudflare adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
```bash
```sh
# Using NPM
npx astro add cloudflare
# Using Yarn
yarn astro add cloudflare
# Using PNPM
pnpm astro add cloudflare
```
If you prefer to install the adapter manually instead, complete the following two steps:

View file

@ -25,8 +25,13 @@ If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/gui
Add the Deno adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
```bash
```sh
# Using NPM
npx astro add deno
# Using Yarn
yarn astro add deno
# Using PNPM
pnpm astro add deno
```
If you prefer to install the adapter manually instead, complete the following two steps:

View file

@ -27,8 +27,13 @@ If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/gui
Add the Netlify adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
```bash
```sh
# Using NPM
npx astro add netlify
# Using Yarn
yarn astro add netlify
# Using PNPM
pnpm astro add netlify
```
If you prefer to install the adapter manually instead, complete the following two steps:

View file

@ -23,8 +23,13 @@ If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/gui
Add the Node adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
```bash
```sh
# Using NPM
npx astro add node
# Using Yarn
yarn astro add node
# Using PNPM
pnpm astro add node
```
If you prefer to install the adapter manually instead, complete the following two steps:

View file

@ -24,8 +24,13 @@ If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/gui
Add the Vercel adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
```bash
```sh
# Using NPM
npx astro add vercel
# Using Yarn
yarn astro add vercel
# Using PNPM
pnpm astro add vercel
```
If you prefer to install the adapter manually instead, complete the following two steps: