Does Aurelia have ng-template alternative?
Asked Answered
I

1

6

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

Incubation answered 11/12, 2015 at 16:43 Comment(4)
Take a look at Aurelia Bundling blog.durandal.io/2015/09/11/bundling-aurelia-apps github.com/aurelia/bundlerMylander
github.com/aurelia/skeleton-navigation Look at "Bundling" sectionMylander
Wow, awesome. Seems it what I looking for. Thanks @FabioLuzIncubation
Are we able to make self-contained bundles with aurelia bundler?Cyclotron
U
3

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

  1. Use the aurelia bundler
  2. Use jspm bundle directly
Uretic answered 14/12, 2015 at 12:50 Comment(1)
This seems like a popular and accepted answer. I would caution you, however, that it could still be flagged as a link only answer, since the context of the answer depends on the information provided by those links, which makes the answer useless if the links change. You may want to provide some relevant information from each site in the answer body.Nadya

© 2022 - 2024 — McMap. All rights reserved.