zero_coding zero_coding - 7 months ago 78
Dart Question

Using sass with angular2dart

How can I use with angular2dart.
For example, I have following component:

selector: 'start-app',
directives: const[MaterialInputComponent],
styleUrls: const ['login_component.css'],
templateUrl: 'login_component.html')

Now instead of css, I would like to use sass.


I don't think there is an easy way currently, because there is no transformer. What you can do is build some watcher or script file that searches all files and compiles them to CSS. You can for example use but it requires some development. It won't do anything out-of-the-box

I'd suggest using until tooling is available.