Skip to content

Commit 81cdefa

Browse files
authored
docs: use new nuxi module add command in installation (#1517)
* docs: use new `nuxi module add` command in installation * chore: clean up * chore: revert changes to other docs
1 parent 2e81d21 commit 81cdefa

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

docs/nuxt/getting-started.md

+3-15
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,11 @@
33
VueFire comes with an official Nuxt module that automatically handles most of the hassle of setting up VueFire in your Nuxt project.
44

55
## Installation
6-
7-
::: code-group
8-
9-
```sh [pnpm]
10-
pnpm install vuefire nuxt-vuefire firebase
11-
```
12-
13-
```sh [yarn]
14-
yarn add vuefire nuxt-vuefire firebase
15-
```
16-
17-
```sh [npm]
18-
npm install vuefire nuxt-vuefire firebase
6+
```bash
7+
npm install firebase
8+
npx nuxi@latest module add vuefire
199
```
2010

21-
:::
22-
2311
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:
2412

2513
::: code-group

0 commit comments

Comments
 (0)