Noticed that my understanding of how Vue implements scoped styles was incorrect. I assumed it worked like Emotion, but for production Vue will generate a CSS file. So we can use scoped styles w/o increasing the JS bundle size.
Note, however, that theme variables defined in the normal Matomo asset pipeline are not available here, so it will be of limited use. For the migration I won't be moving them.
@diosmosis Could you maybe add some scoped css to the example vue component? If we support it, would be good to have that there I guess.
@sgiehl good idea, added it :+1: