Skip to content

Commit 01ff329

Browse files
committed
update tailwind doc
1 parent 65220c1 commit 01ff329

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

docs/setup_with_tailwind.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This guide will help you install and config `Tailwind v3`
44

55
## Install Dependency
66

7-
Go to `frontend` directory
7+
In directory which contains the `package.json`, install `tailwindcss` and `postcss-import`
88

99
```bash
1010
$ npm install -D tailwindcss@latest postcss-import
@@ -45,6 +45,10 @@ module.exports = {
4545
}
4646
```
4747

48+
!!! note
49+
50+
Please make sure `tailwind.config.js` exists in the same directory as `postcss.config.js`
51+
4852
## JIT
4953

5054
From Tailwind V3, it enabled `JIT` (Just-in-Time) all the time.
@@ -179,4 +183,7 @@ When you add Tailwind css class in Django template, it would be cool if the page
179183

180184
## Tutorials
181185

182-
To learn more about Tailwind and Django, you can check [Django Tailwind CSS Alpine.js Tutorial](https://www.accordbox.com/blog/django-tailwind-css-alpinejs-tutorial/)
186+
To learn more about Tailwind and Django, you can check
187+
188+
1. [wagtail-tailwind-blog](https://github.com/AccordBox/wagtail-tailwind-blog)
189+
2. [Django Tailwind CSS Alpine.js Tutorial](https://www.accordbox.com/blog/django-tailwind-css-alpinejs-tutorial/)

0 commit comments

Comments
 (0)