Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Apr 5, 2024
1 parent f98a697 commit 4b73f0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
## Quick Start

```sh
npm i -D @sidebase/nuxt-auth
npx nuxi@latest module add sidebase-auth
```

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.
Expand Down
14 changes: 3 additions & 11 deletions docs/content/1.getting-started/2.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,10 @@ description: "How to install nuxt-auth."

# Installation

You can install `nuxt-auth` via `npm`, `yarn` or `pnpm`:
::code-group
```bash [npm]
npm i -D @sidebase/nuxt-auth
```
```bash [yarn]
yarn add --dev @sidebase/nuxt-auth
You can install `nuxt-auth` using `nuxi`:
```bash
npx nuxi@latest module add sidebase-auth
```
```bash [pnpm]
pnpm i -D @sidebase/nuxt-auth
```
::

## Specifics: `authjs`-Provider

Expand Down

0 comments on commit 4b73f0c

Please sign in to comment.