summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Swithinbank <swithinbank@gmail.com> 2022-09-14 22:43:10 +0200
committerGravatar GitHub <noreply@github.com> 2022-09-14 22:43:10 +0200
commit0398efa39f14f40e77dc8e87f08e9f100a0fef34 (patch)
treeafe96e9931b6e6ce86ba0ef7500c1f42bdf263ae
parent27aa9851d81fec0f418779fb7cad2c1836568be0 (diff)
downloadastro-0398efa39f14f40e77dc8e87f08e9f100a0fef34.tar.gz
astro-0398efa39f14f40e77dc8e87f08e9f100a0fef34.tar.zst
astro-0398efa39f14f40e77dc8e87f08e9f100a0fef34.zip
Tailwind v2 docs (#4758)
* Add migration notes to Tailwind changelog * Include `tailwindcss` in manual install steps * add changeset
Diffstat (limited to '')
-rw-r--r--.changeset/swift-trees-double.md5
-rw-r--r--packages/integrations/tailwind/CHANGELOG.md8
-rw-r--r--packages/integrations/tailwind/README.md4
3 files changed, 15 insertions, 2 deletions
diff --git a/.changeset/swift-trees-double.md b/.changeset/swift-trees-double.md
new file mode 100644
index 000000000..2b7c2d0ca
--- /dev/null
+++ b/.changeset/swift-trees-double.md
@@ -0,0 +1,5 @@
+---
+"@astrojs/tailwind": patch
+---
+
+Update Tailwind manual install guide for v2
diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md
index 34aa77eca..c1b453a3b 100644
--- a/packages/integrations/tailwind/CHANGELOG.md
+++ b/packages/integrations/tailwind/CHANGELOG.md
@@ -2,6 +2,14 @@
## 2.0.0
+### Migration to v2
+
+Tailwind CSS is now a peer dependency, so you will need to install it manually when updating this integration:
+
+```
+npm install tailwindcss
+```
+
### Major Changes
- [#4543](https://github.com/withastro/astro/pull/4543) [`664ebf449`](https://github.com/withastro/astro/commit/664ebf449e27f0aef43eaa2482189358a74209d2) Thanks [@aFuzzyBear](https://github.com/aFuzzyBear)! - Update peer dep with Tailwindcss
diff --git a/packages/integrations/tailwind/README.md b/packages/integrations/tailwind/README.md
index 6d118a79c..7480327b9 100644
--- a/packages/integrations/tailwind/README.md
+++ b/packages/integrations/tailwind/README.md
@@ -42,9 +42,9 @@ If you run into any issues, [feel free to report them to us on GitHub](https://g
### Manual Install
-First, install the `@astrojs/tailwind` package using your package manager. If you're using npm or aren't sure, run this in the terminal:
+First, install the `@astrojs/tailwind` and `tailwindcss` packages using your package manager. If you're using npm or aren't sure, run this in the terminal:
```sh
-npm install @astrojs/tailwind
+npm install @astrojs/tailwind tailwindcss
```
Then, apply this integration to your `astro.config.*` file using the `integrations` property: