TailwindCSS CDN not working
i tried using an older version of the cdn but it still doesnt work
10 Replies
the suggested classes are from font-awesome
have you tried downloading the file at cdn.tailwindcss.com and refering to it locally? And have you restarted vscode since you installed the plugin?
i restarted vscode yea but i dont think that you have to download a file to use a cdn there is nothing like that in the tailwind website
does it work if you just type in the classes you want manually?
as in, does your page work in your browser when you type the class in manually
yea that works i just dont get suggestions
That really should be coming from that extension
yea idk
I think "Tailwind intellisense" extension does not work with Tailwind cdn.
I have recently tried this too, but not really sure.
i tried disabling it too but still i dont get suggestions for classes
i guess i will go with npm
honestly, it's the better choice anyway. You'd want to switch before bringing your site to production