[Vuejs]-Better style inside a vue.js app or outsource to the site embedding it?

1👍

It depends on the project, but you can make a list of cons and pros based on your project brief. If there are very few (or 0) changes in the future or it’s based only on small components (not much style) then go with component-scoped styling. If the project is big, always go with a style pattern like the 7-1 pattern

I prefer working with the 7-1 pattern pattern.

Pros:
– Scalability or future updates like you mentioned the color variables case.
– You don’t depend on Javascript to load the style, depending on how you write the app or how it loads, it may have glitches.

Leave a comment