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
Angular and Aurelia, descendants of good old JavaScript Angular 1, are fierce competitors, developed and released at approximately the same time and with a similar philosophy, but differing in a number of key ways. In this article, we'll do side-by-side comparisons of those differences in features and code.
Aurelia works well with other frameworks and has an advantage in interoperability over Angular. For example, Developers can use React components by creating a custom Aurelia element. Aurelia also works with Polymer, since they're both based on the WebComponents standards.
What is ng-template in Angular? ng-template is an Angular element that is used for rendering HTML in a template. However, it is not rendered directly on DOM. If you include an ng-template tag to a template, the tag and the content inside it will be replaced by comment upon render.
Aurelia apps can be bundled. There's a couple ways to do this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With