vulcanize for angular.dart?

后端 未结 2 1823
刺人心
刺人心 2021-01-21 00:44

There is vulcanize like tool for polymer.dart (done by polymer transformer), that nicely puts all the imported components inline and makes it easy to serve the app by reducing t

相关标签:
2条回答
  • 2021-01-21 01:00

    You can use template-cache-transformer. From it's home page:

    The Template Cache Transformer generates the template cache and 
    optionally merges the CSS and HTML of AngularDart components into
    a hosting Web page.
    
    0 讨论(0)
  • 2021-01-21 01:05

    AngularDart has the template_cache_generator which creates a Dart file to pre-populate Angular's template cache.

    As far as I know, we have not done to work to include the template cache generator in the Angular transformer group. There is no technical reason why it can't be there.

    0 讨论(0)
提交回复
热议问题