Skip to content

Commit

Permalink
docs: update installation.md, @sidebase/nuxt-auth should be installed…
Browse files Browse the repository at this point in the history
… as regular dep

@sidebase/nuxt-auth should be installed as a regular dependency instead of a dev dependency. Also added additional scripts for yarn and pnpm
  • Loading branch information
s0h311 authored Dec 8, 2024
1 parent 218a846 commit c7e6e30
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions docs/guide/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,36 @@

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

```bash [npm]
npm i -D @sidebase/nuxt-auth
npm i @sidebase/nuxt-auth
```

```bash [pnpm]
pnpm i -D @sidebase/nuxt-auth
pnpm i @sidebase/nuxt-auth
```

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

:::
Expand Down

0 comments on commit c7e6e30

Please sign in to comment.