Class autocompletion
IntelliSense
If you're using VSCode or JetBrains IDEs (WebStorm, PHPStorm, etc..) you can configure autocompletion for the classes.
What you'll get:
Autocompletion on typing.
Autocompletion on objects by prefixing them with
/*tw*/
Autocompletion when using the
config
prop.
An example SFC using IntelliSense:
VSCode
Install Tailwind CSS IntelliSense extension.
Set the plugin configuration below in the file
.vscode/settings.json
.
JetBrains IDEs
Check if Tailwind CSS IntelliSense extension already installed in the IDE and install it if not.
Set the plugin configuration below in
Settings
>Languages & Frameworks
>Style Sheets
>Tailwind CSS
.
Last updated