angular2-example icon indicating copy to clipboard operation
angular2-example copied to clipboard

Angular version

Open kylecordes opened this issue 8 years ago • 5 comments

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.

kylecordes avatar May 20 '17 19:05 kylecordes

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

nchanged avatar May 21 '17 12:05 nchanged

@kylecordes could you contribute to this if you know how to fix it?

devmondo avatar May 21 '17 12:05 devmondo

@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.

kylecordes avatar May 21 '17 18:05 kylecordes

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.

nchanged avatar May 21 '17 19:05 nchanged

@kylecordes , thanks for the detailed input, we will be working on this one hard to solve it!

devmondo avatar May 21 '17 20:05 devmondo