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

[Bug] Style variables not working with TSX src import #3836

Open
wenfangdu opened this issue May 28, 2021 · 1 comment
Open

[Bug] Style variables not working with TSX src import #3836

wenfangdu opened this issue May 28, 2021 · 1 comment

Comments

@wenfangdu
Copy link

wenfangdu commented May 28, 2021

Version

3.1.0-beta.5

Reproduction link

https://github.com/wenfangdu/vue-3-style-vars-tsx-repro

Steps to reproduce

Please use the repro link.

This issue is similar to #3808, but via src imports.

What is expected?

Works with TSX src import

What is actually happening?

Not working with TSX src import

@yyx990803
Copy link
Member

This would require special handling in build tool plugins as @vue/compiler-sfc doesn't handle src imports alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants