Skip to content

Commit 8de5b51

Browse files
committed
docs: use new nuxi module add command in installation
1 parent 704ecb9 commit 8de5b51

File tree

2 files changed

+7
-31
lines changed

2 files changed

+7
-31
lines changed

apps/docs/content/0.index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cta:
1414
secondary:
1515
- Open on GitHub →
1616
- https://github.com/gaetansenn/vunix
17-
snippet: yarn add @vunix/vue
17+
snippet: npx nuxi@latest module add vunix
1818
---
1919

2020
#title

apps/docs/content/1.get-started/2.installation.md

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,9 @@ constrainedClass: 'max-w-4xl'
88
## New Project with Nuxt.js
99

1010
1. Install the dependencies in your Nuxt project:
11-
12-
::code-group
13-
14-
```bash [yarn]
15-
yarn add @vunix/nuxt
16-
```
17-
18-
```bash [npm]
19-
npm install @vunix/nuxt
20-
```
21-
22-
```bash [pnpm]
23-
pnpm install @vunix/nuxt
24-
```
25-
::
11+
```bash
12+
npx nuxi@latest module add vunix
13+
```
2614

2715
2. Configure your `nuxt.config.ts` to load the module
2816

@@ -56,21 +44,9 @@ Check the [nuxt-example](https://github.com/gaetansenn/vunix/tree/main/apps/nuxt
5644
## New project with Vue.js
5745

5846
1. Install the dependencies in your Vue project:
59-
60-
::code-group
61-
62-
```bash [yarn]
63-
yarn add @vunix/vue
64-
```
65-
66-
```bash [npm]
67-
npm install @vunix/vue
68-
```
69-
70-
```bash [pnpm]
71-
pnpm install @vunix/vue
72-
```
73-
::
47+
```bash
48+
npx nuxi@latest module add vunix
49+
```
7450

7551
### Global components import
7652
1. Add the Vunix vue plugin to your app

0 commit comments

Comments
 (0)