Giter Site home page Giter Site logo

Comments (7)

khatabwedaa avatar khatabwedaa commented on August 10, 2024 1

Let take look 👀 .

from issue-tracker.

khatabwedaa avatar khatabwedaa commented on August 10, 2024 1

Hey @maddog986, we added to the code base now you can use jit without including any script.

from issue-tracker.

killgt avatar killgt commented on August 10, 2024

It's actually a nice thing to have, because we're loading the full tailwindcss for each component, a few mb worth of css... We should generate a tailwind css compilation on real time by compiling on the browser, but i don't know if that is possible.

from issue-tracker.

maddog986 avatar maddog986 commented on August 10, 2024

It's actually a nice thing to have, because we're loading the full tailwindcss for each component, a few mb worth of css... We should generate a tailwind css compilation on real time by compiling on the browser, but i don't know if that is possible.

Would this work? https://github.com/beyondcode/tailwindcss-jit-cdn

edit: Appears to work for me, testing locally, with a simple html file and the included script tag.
edit: edit: Working demo, with Tailwind JIT: https://codesandbox.io/s/infallible-wing-nqsjx?file=/index.html

from issue-tracker.

killgt avatar killgt commented on August 10, 2024

It looks exactly what we need, thank you! Maybe we should only enable this for components on version >= 2.0. What do you think @khatabwedaa ?

from issue-tracker.

maddog986 avatar maddog986 commented on August 10, 2024

Just now I guess we can just add the script tag to the component page, it works: https://tailwindcomponents.com/component/card-carousel

from issue-tracker.

khatabwedaa avatar khatabwedaa commented on August 10, 2024

Awesome I will apply it for all v2 components Thanks Budy.

from issue-tracker.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.