integrations: update recommended method for running astro add (#4340)
This commit is contained in:
parent
0274b8d47b
commit
e2b3f8a3f4
13 changed files with 26 additions and 26 deletions
|
@ -28,11 +28,11 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add image
|
npm run astro add image
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add image
|
yarn astro add image
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add image
|
pnpm astro add image
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
||||||
|
|
|
@ -16,11 +16,11 @@ To install `@astrojs/lit`, run the following from your project directory and fol
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add lit
|
npm run astro add lit
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add lit
|
yarn astro add lit
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add lit
|
pnpm astro add lit
|
||||||
```
|
```
|
||||||
|
|
||||||
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
||||||
|
|
|
@ -26,11 +26,11 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add mdx
|
npm run astro add mdx
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add mdx
|
yarn astro add mdx
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add mdx
|
pnpm astro add mdx
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
||||||
|
|
|
@ -28,11 +28,11 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add partytown
|
npm run astro add partytown
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add partytown
|
yarn astro add partytown
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add partytown
|
pnpm astro add partytown
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
||||||
|
|
|
@ -28,11 +28,11 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add preact
|
npm run astro add preact
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add preact
|
yarn astro add preact
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add preact
|
pnpm astro add preact
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
||||||
|
|
|
@ -22,11 +22,11 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add prefetch
|
npm run astro add prefetch
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add prefetch
|
yarn astro add prefetch
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add prefetch
|
pnpm astro add prefetch
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
||||||
|
|
|
@ -16,11 +16,11 @@ To install `@astrojs/react`, run the following from your project directory and f
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add react
|
npm run astro add react
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add react
|
yarn astro add react
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add react
|
pnpm astro add react
|
||||||
```
|
```
|
||||||
|
|
||||||
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
||||||
|
|
|
@ -28,11 +28,11 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add sitemap
|
npm run astro add sitemap
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add sitemap
|
yarn astro add sitemap
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add sitemap
|
pnpm astro add sitemap
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
||||||
|
|
|
@ -16,11 +16,11 @@ To install `@astrojs/solid-js`, run the following from your project directory an
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add solid
|
npm run astro add solid
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add solid
|
yarn astro add solid
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add solid
|
pnpm astro add solid
|
||||||
```
|
```
|
||||||
|
|
||||||
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
||||||
|
|
|
@ -16,11 +16,11 @@ To install `@astrojs/svelte`, run the following from your project directory and
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add svelte
|
npm run astro add svelte
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add svelte
|
yarn astro add svelte
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add svelte
|
pnpm astro add svelte
|
||||||
```
|
```
|
||||||
|
|
||||||
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
||||||
|
|
|
@ -31,11 +31,11 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add tailwind
|
npm run astro add tailwind
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add tailwind
|
yarn astro add tailwind
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add tailwind
|
pnpm astro add tailwind
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
Then, restart the dev server by typing `CTRL-C` and then `npm run astro dev` in the terminal window that was running Astro.
|
||||||
|
|
|
@ -26,11 +26,11 @@ To install `@astrojs/turbolinks`, run the following from your project directory
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add turbolinks
|
npm run astro add turbolinks
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add turbolinks
|
yarn astro add turbolinks
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add turbolinks
|
pnpm astro add turbolinks
|
||||||
```
|
```
|
||||||
|
|
||||||
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
||||||
|
|
|
@ -16,11 +16,11 @@ To install `@astrojs/vue`, run the following from your project directory and fol
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Using NPM
|
# Using NPM
|
||||||
npx astro add vue
|
npm run astro add vue
|
||||||
# Using Yarn
|
# Using Yarn
|
||||||
yarn astro add vue
|
yarn astro add vue
|
||||||
# Using PNPM
|
# Using PNPM
|
||||||
pnpx astro add vue
|
pnpm astro add vue
|
||||||
```
|
```
|
||||||
|
|
||||||
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
If you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
|
||||||
|
|
Loading…
Reference in a new issue