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

type support for rfc 0043-sfc-style-variables #777

Closed
upupming opened this issue Dec 11, 2021 · 1 comment
Closed

type support for rfc 0043-sfc-style-variables #777

upupming opened this issue Dec 11, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@upupming
Copy link

upupming commented Dec 11, 2021

hi there, just a small suggestion, now vue has supported the v-bind for <style> section in SFC, see the RFC link: https://github.com/vuejs/rfcs/blob/master/active-rfcs/0043-sfc-style-variables.md

Will the type of the variable be supported in the style section whening using a complex type, I think it will be useful:

<style>
.calendar-grid {
  grid-template-columns: repeat(v-bind(grids[0].length), max-content);
	          	          	            |--> will be helpful if type is enabled here
}
</style>

example link

@johnsoncodehk
Copy link
Member

It should be already supported, but I found that I didn’t deal with all situations completely, will fix it.

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants