docs: use new nuxi module add command in installation (#53)

This commit is contained in:
Daniel Roe
2024-04-03 20:35:49 +01:00
committed by GitHub
parent 89d50bd977
commit edcf10eea1
2 changed files with 4 additions and 17 deletions

View File

@ -10,7 +10,7 @@
## Installation
```bash
pnpm add nuxt-mongoose
npx nuxi@latest module add nuxt-mongoose
```
## Usage

View File

@ -5,23 +5,10 @@ A Nuxt module for simplifying the use of Mongoose in your project.
## Installation
1. Install `nuxt-mongoose` to your dependencies.
::code-group
```bash [pnpm]
pnpm add nuxt-mongoose -D
```bash
npx nuxi@latest module add nuxt-mongoose
```
```bash [npm]
npm install nuxt-mongoose -D
```
```bash [yarn]
yarn add nuxt-mongoose -D
```
::
2. Add `nuxt-mongoose` to the `modules` section of your `nuxt.config` file.
```ts [nuxt.config]