Angular 7+ & BabylonJS Template Project

Hi there Developers,

as of originally here postet i also want to share my project here.

This is my Angular 7+ & BabylonJS Project Template. Supports now also the New Version 4.x

Have some fun with it!

1 Like

Thanks for your template. :slight_smile:
If I can add a couple of thingsā€¦ Consider moving the scene init from ngOnInit to ngAfterViewInit. The required canvas may or may not be yet created in the ngOnInit call. For the sake of reusability, it would also make sense to get the canvas referece via @ViewChild decorator.
I would personaly also use the new es6 babylon modules, which allows tree shaking. :wink:

Cheers :slight_smile:

1 Like