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

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

问题描述

vulcanize 之类的工具,用于polymer.dart(由聚合物转换器完成),很好地将所有导入的组件内联,并通过减少到服务器的往返次数来轻松为应用程序提供服务.angular.dart 项目有没有像 vulcanize 这样的工具?特别是可以将所有组件的 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?

推荐答案

您可以使用 模板缓存转换器.从它的主页:

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天全站免登陆