Skip to content
This repository was archived by the owner on Sep 12, 2023. It is now read-only.
This repository was archived by the owner on Sep 12, 2023. It is now read-only.

It is really works in the client side..? #11

Description

@JTorresConsulta

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions