zero_coding zero_coding - 1 year ago 147
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.

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download