Skip to content

refactor(styles): Move component styles to SCSS files

Lukas Eipert requested to merge leipert-move-styles into master

Having styles in Vue components means that they are added during runtime by a script which injects them. This is bad for two reasons:

  1. We are effectivly introducing side-effects, especially with non-scoped styles. This makes the package not tree-shakable

  2. We cannot make use of our SCSS pipeline

Merge request reports

Loading