dart - Using sass with angular2dart -
how can use https://github.com/sass/dart-sass angular2dart. example, have following component:
@component( selector: 'start-app', directives: const[materialinputcomponent], styleurls: const ['login_component.css'], templateurl: 'login_component.html')
now instead of css, use sass.
i don't think there easy way currently, because there no transformer. can build watcher or script file searches files , compiles them css. can example use https://github.com/dart-lang/build requires development. won't out-of-the-box
i'd suggest using https://pub.dartlang.org/packages/dart_sass_transformer until tooling available.
Comments
Post a Comment