Search code examples
javascriptangularjsproductionaurelia

Does Aurelia have ng-template alternative?


I am curious is that possible to compile Aurelia js application to one minified.js file. With templates to avoid extra requests at production?

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


Solution

  • Aurelia apps can be bundled. There's a couple ways to do this:

    1. Use the aurelia bundler
    2. Use jspm bundle directly