Skip to content

Commit 52cbf0c

Browse files
docs: update tailwindcss v2 compat dependencies (#209)
1 parent f0a699a commit 52cbf0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/content/en/setup.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export default {
7676
See the [module options](/options).
7777

7878
## Upgrading Tailwind
79+
7980
### Tailwind 2
8081

8182
Nuxt 2.14 is still using PostCSS 7, we have a [pull request](https://github.com/nuxt/nuxt.js/pull/8346) opened to upgrade the dependencies. Once merged on `v2.15`, we will release a major version of this module to include TailwindCSS 2, see [PR#203](https://github.com/nuxt-community/tailwindcss-module/pull/203).
@@ -86,14 +87,14 @@ In the meantime, you can upgrade Tailwind by using the [compatibily build](https
8687
<code-block label="Yarn" active>
8788

8889
```bash
89-
yarn add --dev tailwindcss@compat
90+
yarn add --dev tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
9091
```
9192

9293
</code-block>
9394
<code-block label="NPM">
9495

9596
```bash
96-
npm install --save-dev tailwindcss@compat
97+
npm install --save-dev tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
9798
```
9899

99100
</code-block>

0 commit comments

Comments
 (0)