Skip to content

Commit

Permalink
docs: use new nuxi module add command (wattanx#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
wattanx authored Apr 8, 2024
1 parent d3c0aad commit e202ec0
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,12 @@ Panda CSS module for Nuxt.

## Quick Setup

You can install `@wattanx/nuxt-pandacss` using `nuxi`:

1. Add `@wattanx/nuxt-pandacss` dependency to your project

```bash
# Using pnpm
pnpm add -D @wattanx/nuxt-pandacss

# Using yarn
yarn add --dev @wattanx/nuxt-pandacss

# Using npm
npm install --save-dev @wattanx/nuxt-pandacss
```

2. Add `@wattanx/nuxt-pandacss` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
modules: ["@wattanx/nuxt-pandacss"],
});
npx nuxi@latest module add @wattanx/nuxt-pandacss
```

That's it! You can now use `@wattanx/nuxt-pandacss` in your Nuxt app ✨
Expand Down

0 comments on commit e202ec0

Please sign in to comment.