Git Product home page Git Product logo

Comments (6)

adamwathan avatar adamwathan commented on June 15, 2024 1

Hey! I think the issue here is you need to be on @tailwindcss/[email protected] (you're currently on alpha.9) but when I install alpha 10 the site never even loads, so there's definitely some issue here. I wouldn't be surprised if there's some conflict with our Vite plugin and the Remix Vite plugin that we need to track down. Will take a look this week!

from tailwindcss.

thecrypticace avatar thecrypticace commented on June 15, 2024 1

We've released @tailwindcss/[email protected] which works around the issue in Vite.

Your reproduction appears to work after updating.

You can run the following to update:

pnpm install -D tailwindcss@next @tailwindcss/vite@next

Thanks for reporting!

from tailwindcss.

JesseKoldewijn avatar JesseKoldewijn commented on June 15, 2024

I want to add that placed a workaround in the reproduction repo because I also use it for a demo tomorrow at my dayjob.

from tailwindcss.

adamwathan avatar adamwathan commented on June 15, 2024

Related: vitejs/vite#16135 (comment)

from tailwindcss.

rogrile avatar rogrile commented on June 15, 2024

Something similar is happening on tailwind 3 as well.. I cannot set variables with multiple words like --primary-color: 255 255 255 or --primary-50: 255 255 255 but --primary: 255 255 255 works as expected. So maybe there's another issue?

from tailwindcss.

JesseKoldewijn avatar JesseKoldewijn commented on June 15, 2024

We've released @tailwindcss/[email protected] which works around the issue in Vite.

Your reproduction appears to work after updating.

You can run the following to update:


pnpm install -D tailwindcss@next @tailwindcss/vite@next

Thanks for reporting!

What is the merged PR? Would love to read a bit through the related changes to get a better grasp on how that specific side of the tw project works. Thanks in advance🤙

from tailwindcss.

Related Issues (20)

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.