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 2 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
24 changes: 17 additions & 7 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 @@
```

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

:::
Expand All @@ -30,10 +42,8 @@

```ts [nuxt.config.ts]
export default defineNuxtConfig({
modules: [
'@sidebase/nuxt-auth',
],
})
modules: ["@sidebase/nuxt-auth"],

Check failure on line 45 in docs/guide/getting-started/installation.md

View workflow job for this annotation

GitHub Actions / test-module

Strings must use singlequote
});

Check failure on line 46 in docs/guide/getting-started/installation.md

View workflow job for this annotation

GitHub Actions / test-module

Extra semicolon
phoenix-ru marked this conversation as resolved.
Show resolved Hide resolved
```

:::
Loading