Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 3, 2024
1 parent 11c980a commit 9df7590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
9 changes: 1 addition & 8 deletions README.md
Expand Up @@ -31,14 +31,7 @@
1. Add `@nuxtjs/tailwindcss` dependency to your project

```bash
# Using pnpm
pnpm add --save-dev @nuxtjs/tailwindcss

# Using yarn
yarn add --dev @nuxtjs/tailwindcss

# Using npm
npm install --save-dev @nuxtjs/tailwindcss
npx nuxi@latest module add tailwindcss
```

*You can test latest additions on [Nightly Releases](https://tailwindcss.nuxtjs.org/getting-started/installation#nightly-releases)!*
Expand Down
17 changes: 2 additions & 15 deletions docs/content/1.getting-started/1.installation.md
Expand Up @@ -6,23 +6,10 @@ description: Using Tailwind CSS in your Nuxt project is only one command away.
## Installation

1. Install `@nuxtjs/tailwindcss` dependency to your project:

::code-group

```bash [yarn]
yarn add -D @nuxtjs/tailwindcss
```

```bash [npm]
npm install -D @nuxtjs/tailwindcss
```

```sh [pnpm]
pnpm i -D @nuxtjs/tailwindcss
```bash
npx nuxi@latest module add tailwindcss
```

::

2. Add it to your `modules` section in your `nuxt.config`:

::code-group
Expand Down

0 comments on commit 9df7590

Please sign in to comment.