docs: use new nuxi module add command in installation (#53)
This commit is contained in:
@ -10,7 +10,7 @@
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm add nuxt-mongoose
|
npx nuxi@latest module add nuxt-mongoose
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
@ -5,22 +5,9 @@ A Nuxt module for simplifying the use of Mongoose in your project.
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Install `nuxt-mongoose` to your dependencies.
|
1. Install `nuxt-mongoose` to your dependencies.
|
||||||
|
```bash
|
||||||
::code-group
|
npx nuxi@latest module add nuxt-mongoose
|
||||||
|
```
|
||||||
```bash [pnpm]
|
|
||||||
pnpm add nuxt-mongoose -D
|
|
||||||
```
|
|
||||||
|
|
||||||
```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.
|
2. Add `nuxt-mongoose` to the `modules` section of your `nuxt.config` file.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user