Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update installation.md #955

Merged
merged 5 commits into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions docs/guide/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@

You can install NuxtAuth using nuxi:

```bash
npx nuxi@latest module add sidebase-auth
::: code-group

```bash [npm]
npx nuxi module add sidebase-auth
```

```bash [pnpm]
pnpm exec nuxi module add sidebase-auth
```

```bash [yarn]
yarn dlx nuxi module add sidebase-auth
```

:::

::: details Manual installation

::: code-group
Expand All @@ -19,7 +31,7 @@ pnpm i -D @sidebase/nuxt-auth
```

```bash [yarn]
yarn add --dev @sidebase/nuxt-auth
yarn add -D @sidebase/nuxt-auth
```

:::
Expand All @@ -31,7 +43,7 @@ Add NuxtAuth to your `nuxt.config`:
```ts [nuxt.config.ts]
export default defineNuxtConfig({
modules: [
'@sidebase/nuxt-auth',
'@sidebase/nuxt-auth'
],
})
```
Expand Down
Loading