chore(create-astro): Added create project using pnpm (#8340)

This commit is contained in:
btea 2023-09-13 22:58:18 +08:00 committed by GitHub
parent 4e395a6cab
commit 9552ef1481
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,12 @@ npm create astro@latest
yarn create astro
```
**With PNPM:**
```bash
pnpm create astro
```
`create-astro` automatically runs in _interactive_ mode, but you can also specify your project name and template with command line arguments.
```bash
@ -22,6 +28,9 @@ npm create astro@latest my-astro-project -- --template minimal
# yarn
yarn create astro my-astro-project --template minimal
# pnpm
pnpm create astro my-astro-project --template minimal
```
[Check out the full list][examples] of example templates, available on GitHub.