This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Support mulitple style tags #34
Closed
Description
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.
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)
Metadata
Metadata
Assignees
Labels
No labels