Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored and victorgarciaesgi committed Apr 3, 2024
1 parent 00522d7 commit 2c87961
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ Demo repo 🧪 : [nuxt-typed-router-demo](https://github.com/victorgarciaesgi/nu
### For Nuxt 3

```bash
yarn add -D nuxt-typed-router
# or
npm install -D nuxt-typed-router
# or
pnpm install -D nuxt-typed-router
npx nuxi@latest module add typed-router
```


Expand Down
2 changes: 1 addition & 1 deletion docs/content/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cta:
secondary:
- Open on GitHub →
- https://github.com/victorgarciaesgi/nuxt-typed-router
snippet: npm install nuxt-typed-router
snippet: npx nuxi@latest module add typed-router
---

#title
Expand Down
14 changes: 2 additions & 12 deletions docs/content/1.guide/0.index.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@

# Installation


::code-group
```bash [yarn]
yarn add nuxt-typed-router
```
```bash [pnpm]
pnpm install nuxt-typed-router
```bash
npx nuxi@latest module add typed-router
```
```bash [npm]
npm install nuxt-typed-router
```
::

Add the module to `modules` in your `nuxt.config`:

Expand Down

0 comments on commit 2c87961

Please sign in to comment.