1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 17:23:50 +01:00

reduce install commands

This commit is contained in:
Matthias Kretschmann 2023-09-27 13:50:05 +01:00
parent f50ddf60a1
commit e1cd3d946c
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -55,12 +55,7 @@ The plugin is designed to work without configuration, especially if your project
```bash
cd yourproject/
# Using NPM
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:
@ -78,7 +73,7 @@ import redirectFrom from 'astro-redirect-from'
export default defineConfig({
// ...
integrations: [
// make sure this is listed before any hosting integration
// make sure this is listed BEFORE any hosting integration
redirectFrom()
]
// ...