You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling<style scoped>, it will be nice if it's configurable.
Eg. inject data-v-foo to element, but use .bar:where([data-v-foo]) instead of .bar[data-v-foo].
In miniprogram, it's not possible to inject an attribute, but we can add an extra class and compile selector to .bar.data-v-foo to make the scoped style work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When compiling
<style scoped>
, it will be nice if it's configurable.Eg. inject
data-v-foo
to element, but use.bar:where([data-v-foo])
instead of.bar[data-v-foo]
.In miniprogram, it's not possible to inject an attribute, but we can add an extra class and compile selector to
.bar.data-v-foo
to make the scoped style work.Beta Was this translation helpful? Give feedback.
All reactions