Skip to content

Commit 4b73f0c

Browse files
authored
docs: use new nuxi module add command in installation (#724)
1 parent f98a697 commit 4b73f0c

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
## Quick Start
1616

1717
```sh
18-
npm i -D @sidebase/nuxt-auth
18+
npx nuxi@latest module add sidebase-auth
1919
```
2020

2121
Then visit the [Quick Start documentation](https://sidebase.io/nuxt-auth/getting-started/quick-start) to setup the module for <= v0.5 - the current stable version.

docs/content/1.getting-started/2.installation.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,10 @@ description: "How to install nuxt-auth."
44

55
# Installation
66

7-
You can install `nuxt-auth` via `npm`, `yarn` or `pnpm`:
8-
::code-group
9-
```bash [npm]
10-
npm i -D @sidebase/nuxt-auth
11-
```
12-
```bash [yarn]
13-
yarn add --dev @sidebase/nuxt-auth
7+
You can install `nuxt-auth` using `nuxi`:
8+
```bash
9+
npx nuxi@latest module add sidebase-auth
1410
```
15-
```bash [pnpm]
16-
pnpm i -D @sidebase/nuxt-auth
17-
```
18-
::
1911

2012
## Specifics: `authjs`-Provider
2113

0 commit comments

Comments
 (0)