Another way of importing styles from a separate file is to write a src declaration in the style tag, referencing the style file you want to use. For example you have a separate style file, Tipp.scss: And a component file, Tipp.vue: This is handy if you want to keep your component styles in a separate file. Is it possible to import css file conditionally in Vue.js? … This means that unlike normal