硫化为angular.dart? [英] vulcanize for angular.dart?

查看:101
本文介绍了硫化为angular.dart?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于polymer.dart,有 vulcanize like工具(由聚合物变压器完成),很好地将所有导入的组件内联,并通过减少到服务器的往返次数,轻松地为应用程序提供服务。有什么工具像vulcanize的angular.dart项目?尤其是。可以将所有组件的html拖到一个单独的文件中,并使其易于部署angular.dart应用程序?

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 the number of round trips to server. Is there any tool like vulcanize for angular.dart projects? esp. the one that can pull all the component's html into a single file and make it easy for deploying angular.dart app?

推荐答案

可以使用 template-cache-transformer 。从它的主页:

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.

这篇关于硫化为angular.dart?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆