|
I'm trying to setup a project using The exact steps I took were $ mkdir tailwind
$ cd tailwind
$ pnpm init
$ pnpm add vite tailwindcss @tailwindcss/vite
# configured packages.json
# added a test code to index.html
$ pnpm dev |
Answered by
wongjn
Jun 1, 2026
Replies: 1 comment 2 replies
|
Consider checking:
Otherwise, consider providing a project that reproduces the unexpected behavior. |
2 replies
Answer selected by
kalcodes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider checking:
git initin the root folder of the project. Tailwind uses git ignore rules internally for automatic source detection. If you have a.gitignore(or equivalent) higher in the directory tree, this may cause Tailwind to ignore files. Initializing a git repo creates a boundary to this.Otherwise, consider providing a project that reproduces the unexpected behavior.