Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation (#1517)
Browse files Browse the repository at this point in the history
* docs: use new `nuxi module add` command in installation

* chore: clean up

* chore: revert changes to other docs
  • Loading branch information
danielroe authored Apr 3, 2024
1 parent 2e81d21 commit 81cdefa
Showing 1 changed file with 3 additions and 15 deletions.
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
```

:::

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

0 comments on commit 81cdefa

Please sign in to comment.