Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailwind extracted components and <style vars scoped> incompatiblity #1623

Closed
brandonlee781 opened this issue Jul 18, 2020 · 0 comments
Closed
Labels
🐞 bug Something isn't working scope: sfc

Comments

@brandonlee781
Copy link

Version

3.0.0-rc.1

Reproduction link

https://github.com/brandonlee781/vue3-tailwind

Steps to reproduce

  1. Run terminal command "npm run dev"

What is expected?

The custom colors should appear on the button

What is actually happening?

The compiler is adding the component scoped data name to the var() but not the css variable declaration, so the colors are not being used.


I know vars are experimental and this is probably an edge case, but I figured it was worth mentioning. If either the scope or vars are removed the colors work just fine.

@yyx990803 yyx990803 added 🐞 bug Something isn't working scope: sfc labels Jul 19, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: sfc
Projects
None yet
Development

No branches or pull requests

2 participants