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:
parent
481e0d1d8a
commit
d693e365ca
14 changed files with 54 additions and 40 deletions
|
@ -18,14 +18,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add alpinejs
|
||||
npx astro add alpinejs
|
||||
# Using Yarn
|
||||
yarn astro add alpinejs
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
|
@ -29,16 +29,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add image
|
||||
npx astro add image
|
||||
# Using Yarn
|
||||
yarn astro add image
|
||||
# Using PNPM
|
||||
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.
|
||||
|
||||
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.
|
||||
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
|
||||
|
||||
|
|
|
@ -16,14 +16,16 @@ To install `@astrojs/lit`, run the following from your project directory and fol
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add lit
|
||||
npx astro add lit
|
||||
# Using Yarn
|
||||
yarn astro add lit
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
|
@ -26,16 +26,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add mdx
|
||||
npx astro add mdx
|
||||
# Using Yarn
|
||||
yarn astro add mdx
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
|
@ -28,16 +28,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add partytown
|
||||
npx astro add partytown
|
||||
# Using Yarn
|
||||
yarn astro add partytown
|
||||
# Using PNPM
|
||||
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.
|
||||
|
||||
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.
|
||||
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
|
||||
|
||||
|
|
|
@ -28,16 +28,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add preact
|
||||
npx astro add preact
|
||||
# Using Yarn
|
||||
yarn astro add preact
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
|
@ -22,16 +22,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add prefetch
|
||||
npx astro add prefetch
|
||||
# Using Yarn
|
||||
yarn astro add prefetch
|
||||
# Using PNPM
|
||||
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.
|
||||
|
||||
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.
|
||||
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
|
||||
|
||||
|
|
|
@ -16,14 +16,16 @@ To install `@astrojs/react`, run the following from your project directory and f
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add react
|
||||
npx astro add react
|
||||
# Using Yarn
|
||||
yarn astro add react
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
|
@ -28,16 +28,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add sitemap
|
||||
npx astro add sitemap
|
||||
# Using Yarn
|
||||
yarn astro add sitemap
|
||||
# Using PNPM
|
||||
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.
|
||||
|
||||
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.
|
||||
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
|
||||
|
||||
|
|
|
@ -16,14 +16,16 @@ To install `@astrojs/solid-js`, run the following from your project directory an
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add solid
|
||||
npx astro add solid
|
||||
# Using Yarn
|
||||
yarn astro add solid
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
|
@ -16,14 +16,16 @@ To install `@astrojs/svelte`, run the following from your project directory and
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add svelte
|
||||
npx astro add svelte
|
||||
# Using Yarn
|
||||
yarn astro add svelte
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
|
@ -31,16 +31,16 @@ The `astro add` command-line tool automates the installation for you. Run one of
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add tailwind
|
||||
npx astro add tailwind
|
||||
# Using Yarn
|
||||
yarn astro add tailwind
|
||||
# Using PNPM
|
||||
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.
|
||||
|
||||
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.
|
||||
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
|
||||
|
||||
|
|
|
@ -26,14 +26,16 @@ To install `@astrojs/turbolinks`, run the following from your project directory
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add turbolinks
|
||||
npx astro add turbolinks
|
||||
# Using Yarn
|
||||
yarn astro add turbolinks
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
|
@ -16,14 +16,16 @@ To install `@astrojs/vue`, run the following from your project directory and fol
|
|||
|
||||
```sh
|
||||
# Using NPM
|
||||
npm run astro add vue
|
||||
npx astro add vue
|
||||
# Using Yarn
|
||||
yarn astro add vue
|
||||
# Using PNPM
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue