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
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Hi, currently only the first style tag in a vue component gets passed to the css function, but a component supports having multiple style tags.
At first, I was going to implement it but the tests are a bit too generic. Adding the corresponding test will need quite some refactor on the tests and since this is not my project my way of doing it may not match your way.
Hi, currently only the first
style
tag in a vue component gets passed to thecss
function, but a component supports having multiplestyle
tags.At first, I was going to implement it but the tests are a bit too generic. Adding the corresponding test will need quite some refactor on the tests and since this is not my project my way of doing it may not match your way.
Overall, adding support for multiple styles is quite easy: just use an array at https://github.com/znck/rollup-plugin-vue/blob/master/src/vueTransform.js#L177 for style or any non template/script node (that'd allow adding support for custom blocks in the future)
The text was updated successfully, but these errors were encountered: