diff --git a/README.md b/README.md index 7e597b2..aaec1c0 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/docs/content/1.getting-started/2.installation.md b/docs/content/1.getting-started/2.installation.md index f21e41a..ca704df 100644 --- a/docs/content/1.getting-started/2.installation.md +++ b/docs/content/1.getting-started/2.installation.md @@ -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.