Dear Umbraco support,
I’m getting an error message when using tailwind css in my umbraco template. Do you have any suggestions how to fix it? I purchased a template that uses tailwind but the tailwind css had been exported to a style.css. So I needed to make some modifications so I linked to the tailwind ‘CDN’ link. So this is what I have in my template header.
And the error I get when I try to preview the template is this:
An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately.
-
The name ‘tailwindcss’ does not exist in the current context
-
The name ‘alpinejs’ does not exist in the current context
-
The name ‘click’ does not exist in the current context
-
The name ‘click’ does not exist in the current context
-
The name ‘click’ does not exist in the current context
-
The name ‘click’ does not exist in the current context
-
The name ‘click’ does not exist in the current context
According to chatGPT, razor code interpretes ‘@’ as C# code so I need to escape the @ ?
Any suggestions let me know. Or do I need to install tailwind a different way?