Skip to content

Commit 04c630a

Browse files
committed
add troubleshooting section to readme
1 parent 00b9820 commit 04c630a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,11 @@ Unknown or invalid path used with the [`theme` helper](https://tailwindcss.com/d
8585
#### `tailwindCSS.lint.cssConflict`
8686

8787
Class names on the same HTML element which apply the same CSS property or properties. **Default: `warning`**
88+
89+
## Troubleshooting
90+
91+
If you’re having issues getting the IntelliSense features to activate, there are a few things you can check:
92+
93+
- Ensure that you have a Tailwind config file in your workspace and that this is named `tailwind.config.js` or `tailwind.js`. Check out the Tailwind documentation for details on [creating a config file](https://tailwindcss.com/docs/installation/#3-create-your-tailwind-config-file-optional).
94+
- Ensure that the `tailwindcss` module is installed in your workspace, via `npm`, `yarn`, or `pnpm`. Tailwind CSS IntelliSense does not currently support Yarn Plug'n'Play.
95+
- If you installed `tailwindcss` or created your config file while your project was already open in Visual Studio Code you may need to reload the editor. You can either restart VS Code entirely, or use the `Developer: Reload Window` command which can be found in the command palette.

0 commit comments

Comments
 (0)