Integrations: Fix NPM instructions to use npx astro add again (#4653)

* Fix install instructions to use `npx astro` again

* Replace joyful hiccups with regular issues :)
This commit is contained in:
Tibor Schiemann 2022-09-07 12:08:58 +02:00 committed by GitHub
parent 481e0d1d8a
commit d693e365ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 54 additions and 40 deletions

View file

@ -18,14 +18,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
```sh ```sh
# Using NPM # Using NPM
npm run astro add alpinejs npx astro add alpinejs
# Using Yarn # Using Yarn
yarn astro add alpinejs yarn astro add alpinejs
# Using PNPM # Using PNPM
pnpm astro add alpinejs pnpm astro add alpinejs
``` ```
Finally, in the terminal window running Astro, press `CTRL+C` and then type `npm run astro dev` to restart the dev server. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
If you run into any issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Manual Install ### Manual Install

View file

@ -29,16 +29,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
```sh ```sh
# Using NPM # Using NPM
npm run astro add image npx astro add image
# Using Yarn # Using Yarn
yarn astro add image yarn astro add image
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
Because this command is new, it might not properly set things up. If that happens, [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 issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Manual Install ### Manual Install

View file

@ -16,14 +16,16 @@ To install `@astrojs/lit`, run the following from your project directory and fol
```sh ```sh
# Using NPM # Using NPM
npm run astro add lit npx astro add lit
# Using Yarn # Using Yarn
yarn astro add lit yarn astro add lit
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
If you run into any issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Install dependencies manually ### Install dependencies manually

View file

@ -26,16 +26,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
```sh ```sh
# Using NPM # Using NPM
npm run astro add mdx npx astro add mdx
# Using Yarn # Using Yarn
yarn astro add mdx yarn astro add mdx
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
Because this command is new, it might not properly set things up. If that happens, [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 issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Manual Install ### Manual Install

View file

@ -28,16 +28,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
```sh ```sh
# Using NPM # Using NPM
npm run astro add partytown npx astro add partytown
# Using Yarn # Using Yarn
yarn astro add partytown yarn astro add partytown
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
Because this command is new, it might not properly set things up. If that happens, [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 issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Manual Install ### Manual Install

View file

@ -28,16 +28,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
```sh ```sh
# Using NPM # Using NPM
npm run astro add preact npx astro add preact
# Using Yarn # Using Yarn
yarn astro add preact yarn astro add preact
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
Because this command is new, it might not properly set things up. If that happens, [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 issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Manual Install ### Manual Install

View file

@ -22,16 +22,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
```sh ```sh
# Using NPM # Using NPM
npm run astro add prefetch npx astro add prefetch
# Using Yarn # Using Yarn
yarn astro add prefetch yarn astro add prefetch
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
Because this command is new, it might not properly set things up. If that happens, [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 issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Manual Install ### Manual Install

View file

@ -16,14 +16,16 @@ To install `@astrojs/react`, run the following from your project directory and f
```sh ```sh
# Using NPM # Using NPM
npm run astro add react npx astro add react
# Using Yarn # Using Yarn
yarn astro add react yarn astro add react
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
If you run into any issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Install dependencies manually ### Install dependencies manually

View file

@ -28,16 +28,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
```sh ```sh
# Using NPM # Using NPM
npm run astro add sitemap npx astro add sitemap
# Using Yarn # Using Yarn
yarn astro add sitemap yarn astro add sitemap
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
Because this command is new, it might not properly set things up. If that happens, [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 issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Manual Install ### Manual Install

View file

@ -16,14 +16,16 @@ To install `@astrojs/solid-js`, run the following from your project directory an
```sh ```sh
# Using NPM # Using NPM
npm run astro add solid npx astro add solid
# Using Yarn # Using Yarn
yarn astro add solid yarn astro add solid
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
If you run into any issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Install dependencies manually ### Install dependencies manually

View file

@ -16,14 +16,16 @@ To install `@astrojs/svelte`, run the following from your project directory and
```sh ```sh
# Using NPM # Using NPM
npm run astro add svelte npx astro add svelte
# Using Yarn # Using Yarn
yarn astro add svelte yarn astro add svelte
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
If you run into any issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Install dependencies manually ### Install dependencies manually

View file

@ -31,16 +31,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
```sh ```sh
# Using NPM # Using NPM
npm run astro add tailwind npx astro add tailwind
# Using Yarn # Using Yarn
yarn astro add tailwind yarn astro add tailwind
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
Because this command is new, it might not properly set things up. If that happens, [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 issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Manual Install ### Manual Install

View file

@ -26,14 +26,16 @@ To install `@astrojs/turbolinks`, run the following from your project directory
```sh ```sh
# Using NPM # Using NPM
npm run astro add turbolinks npx astro add turbolinks
# Using Yarn # Using Yarn
yarn astro add turbolinks yarn astro add turbolinks
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
If you run into any issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Install dependencies manually ### Install dependencies manually

View file

@ -16,14 +16,16 @@ To install `@astrojs/vue`, run the following from your project directory and fol
```sh ```sh
# Using NPM # Using NPM
npm run astro add vue npx astro add vue
# Using Yarn # Using Yarn
yarn astro add vue yarn astro add vue
# Using PNPM # Using PNPM
pnpm 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. Finally, in the terminal window running Astro, press `CTRL+C` and then restart the dev server.
If you run into any issues, [feel free to report them to us on GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.
### Install dependencies manually ### Install dependencies manually