1
0
mirror of https://github.com/kremalicious/astro-redirect-from.git synced 2024-11-22 09:57:03 +01:00

reduce install commands

This commit is contained in:
Matthias Kretschmann 2023-09-27 13:50:23 +01:00
parent 5796f2cf34
commit 8b9d845266
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -42,12 +42,7 @@ The plugin is designed to work without configuration, especially if your project
```bash ```bash
cd yourproject/ cd yourproject/
# Using NPM
npx astro add astro-redirect-from npx astro add astro-redirect-from
# Using Yarn
yarn astro add astro-redirect-from
# Using PNPM
pnpm astro add astro-redirect-from
``` ```
If installing manually: If installing manually:
@ -65,7 +60,7 @@ import redirectFrom from 'astro-redirect-from'
export default defineConfig({ export default defineConfig({
// ... // ...
integrations: [ integrations: [
// make sure this is listed before any hosting integration // make sure this is listed BEFORE any hosting integration
redirectFrom() redirectFrom()
] ]
// ... // ...