If you are using VSCode, be sure to install the Tailwind Intelisense plugin.
Also, add Vue to your Tailwind supported languages in order to get autocomplete to work in your .vue
files:
In settings.json
:
{
"tailwindCSS.includeLanguages": {
"vue": "html",
"html": "html"
},
}
npm install
npm run serve
npm run build
npm run lint
After running npm run serve
visit localhost:8080
and you should see this: