-
Notifications
You must be signed in to change notification settings - Fork 918
Open
Labels
Description
What problem does this feature solve?
Is there a way to add css loaders that are dependent on the generated Vue.component()
in *.vue
files? For example, styled-components is one of such frameworks. At the moment, it seems not feasible due to the underlying component not being exposed. The integration could be pretty slick too, I think, if the pass to vue-styled-components
is handled by the loader.
What does the proposed API look like?
<style lang="styled-components">
font-size: ${props.fontSize}em;
...
&:hover {
box-shadow: ...;
}
& .child {
...
}
</style>
flybayer, liqueflies, nagyzsolthun, sabrinaluo, alidcast and 5 more