angular2-example
angular2-example copied to clipboard
Angular version
This example is on Angular 2.3.1, from Dec. 2016, six months ago. I recommend updating it to current Angular (4.1.3 as I write this, https://github.com/angular/angular/blob/master/CHANGELOG.md ), to verify and demonstrate whether fuse-box can work with current-ish versions.
Hi! It works, it's just angular materials changed the API completely, and we don't be have time and resources to update it. but we could get rid of the todo app and provide something simpler like hello world
@kylecordes could you contribute to this if you know how to fix it?
@devmondo The material API / packaging is a little different than before, as they work their way through their beta process. I've followed along the Material development with other tooling, and never needed more than a few minutes to update a project.
Here is a PR, partial update/fix to use Angular 4:
https://github.com/fuse-box/angular2-example/pull/28
Making this run is awaiting module resolution fix for fuse-box:
https://github.com/fuse-box/fuse-box/issues/324
There is also a broader challenge:
The Angular team and community have shifted much attention to Angular AOT ("Ahead of Time") template compilation and tree shaking. There are many moving pieces to get in place, to create alternative Angular build tooling competitive with the official Angular CLI (and importantly, its non-trivial webpack plugin). This will probably have to wait for someone with a strong motivation to recreate this stuff for fuse-box.
Thanks @kylecordes ! I will hold off merging your PR then. Need to take a look at this packaging issue. Tree shaking is coming to fuse-box very soon, that's what we are busy with.
@kylecordes , thanks for the detailed input, we will be working on this one hard to solve it!