简体   繁体   English

Aurelia有替代品吗?

[英]Does Aurelia have ng-template alternative?

I am curious is that possible to compile Aurelia js application to one minified.js file. 我很好奇是可以将Aurelia js应用程序编译为一个minified.js文件。 With templates to avoid extra requests at production? 使用模板避免生产中的额外请求?

Similar to ng-template https://www.npmjs.com/package/gulp-ng-templates in angular ng-template https://www.npmjs.com/package/gulp-ng-templates类似

Aurelia apps can be bundled. Aurelia应用程序可以捆绑。 There's a couple ways to do this: 有几种方法可以做到这一点:

  1. Use the aurelia bundler 使用aurelia捆绑器
  2. Use jspm bundle directly 直接使用jspm bundle

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM