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: use new nuxi module add command in installation #1517

Merged
merged 3 commits into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 3 additions & 15 deletions docs/nuxt/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,11 @@
VueFire comes with an official Nuxt module that automatically handles most of the hassle of setting up VueFire in your Nuxt project.

## Installation

::: code-group

```sh [pnpm]
pnpm install vuefire nuxt-vuefire firebase
```

```sh [yarn]
yarn add vuefire nuxt-vuefire firebase
```

```sh [npm]
npm install vuefire nuxt-vuefire firebase
```bash
npm install firebase
npx nuxi@latest module add vuefire
danielroe marked this conversation as resolved.
Show resolved Hide resolved
```

:::

Additionally, if you are using [SSR](https://nuxt.com/docs/api/configuration/nuxt-config/#ssr), you need to install `firebase-admin` and its peer dependencies:

::: code-group
Expand Down