What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-26 00:57:04
how to import scss file in angular
In the new angular v6, importing sass files is a little different from the previous version. I just needed to import like this (in a component stylesheet) @import "~src/sass/variables"; // note: without file extension Now everything works ... Add solution -
CSS 2021-10-16 20:03:09
vue import css scoped
// To import global CSS, simply import the stylesheet in main.js or App.vue, // where it is easy to reference all global styles in one main file // (or create a styles-import.js file and import that file in your main.js file). // main.js import '~/asse... Add solution