It is really works in the client side..?
Hi! Thanks for this amazing script.
I am reading in your site the next:
https://beyondco.de/blog/tailwind-jit-compiler-via-cdn
"Of course all of the processing happens on the client side. No HTML is sent to a server to generate the CSS."
All is correct when the script is loaded from unpkg
<script src="https://unpkg.com/tailwindcss-jit-cdn"></script>
If I try to download the script to my localhost and work offline like:
<script src="js/tailwindcss-jit-cdn,js"></script>
next error is returned:
"Uncaught ReferenceError: tailwind is not defined at ..."
Why it is happening? You say that its works in the client side. (I need it because in my family holydays sometimes I cant connect to internet)
Thanks!
Hi, Are you aware you have a typo? (it has to be .js instead of ,js) So you need: