Subscribe on changes!

[Bug] Style variables not working with TSX src import

avatar
May 28th 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 https://github.com/vuejs/vue-next/issues/3808, but via src imports.

What is expected?

Works with TSX src import

What is actually happening?

Not working with TSX src import

avatar
Jul 14th 2021

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