mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 09:56:51 +01:00
reduce install commands
This commit is contained in:
parent
f50ddf60a1
commit
e1cd3d946c
@ -55,12 +55,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:
|
||||||
@ -78,7 +73,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()
|
||||||
]
|
]
|
||||||
// ...
|
// ...
|
||||||
|
Loading…
Reference in New Issue
Block a user