Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use new nuxi module add command in installation #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/docs/content/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cta:
secondary:
- Open on GitHub →
- https://github.com/gaetansenn/vunix
snippet: yarn add @vunix/vue
snippet: npx nuxi@latest module add vunix
---

#title
Expand Down
36 changes: 6 additions & 30 deletions apps/docs/content/1.get-started/2.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,9 @@ constrainedClass: 'max-w-4xl'
## New Project with Nuxt.js

1. Install the dependencies in your Nuxt project:

::code-group

```bash [yarn]
yarn add @vunix/nuxt
```

```bash [npm]
npm install @vunix/nuxt
```

```bash [pnpm]
pnpm install @vunix/nuxt
```
::
```bash
npx nuxi@latest module add vunix
```

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

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

1. Install the dependencies in your Vue project:

::code-group

```bash [yarn]
yarn add @vunix/vue
```

```bash [npm]
npm install @vunix/vue
```

```bash [pnpm]
pnpm install @vunix/vue
```
::
```bash
npx nuxi@latest module add vunix
```

### Global components import
1. Add the Vunix vue plugin to your app
Expand Down