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 #36

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
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,7 @@
1. Add `@sidebase/nuxt-pdf` dependency to your project

```bash
# Using pnpm
pnpm add -D @sidebase/nuxt-pdf

# Using yarn
yarn add --dev @sidebase/nuxt-pdf

# Using npm
npm install --save-dev @sidebase/nuxt-pdf
npx nuxi@latest module add nuxt-pdf
```

2. Add `@sidebase/nuxt-pdf` to the `modules` section of `nuxt.config.ts`
Expand Down
12 changes: 2 additions & 10 deletions docs/content/1.getting-started/2.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,8 @@ description: "How to install nuxt-pdf."
# Installation

To install the module begin by installing our package
::code-group
```bash [npm]
npm install -D @sidebase/nuxt-pdf
```bash
npx nuxi@latest module add nuxt-pdf
```
```bash [yarn]
yarn add --dev @sidebase/nuxt-pdf
```
```bash [pnpm]
pnpm i -D @sidebase/nuxt-pdf
```
::

`nuxt-pdf` only requires a Nuxt 3 app to run.