1.1.0 • Published 7 years ago

scss-2-css v1.1.0

Weekly downloads
5
License
ISC
Repository
github
Last release
7 years ago

in angular 2/4, Web components are essentially fully encapsulated HTML elements. Since the HTML and CSS are encapsulated in the component, the component will always display the way it was designed, even if some later-loaded CSS style sheet changes the presentation rules on HTML elements. This module will convert the scss files present in child components(child directories) to css file's. Goal is to make scss more modular in angular2/4. But this module can be used any where.

import { Component } from '@angular/core';
 @Component({
 selector: 'payment-root',
 templateUrl: './payment.component.html',
 /*styleUrls: ['./payment.component.scss']  //instead of scss file*/
 styleUrls: ['./payment.component.css'] //use generated css
})
1.1.0

7 years ago

1.0.0

7 years ago