jaumard / ngx-dashboard

Dashboard library for angular 4 and more
https://jaumard.github.io/ngx-dashboard/demo/demoDist/index.html
MIT License
71 stars 31 forks source link

add angular 2 AOT compatibility with last angular-cli version #6

Closed jaumard closed 7 years ago

jaumard commented 7 years ago

If you can help @valorkin that would be amazing :) let me know if you have time

valorkin commented 7 years ago

Hopefully I will have some time today

jaumard commented 7 years ago

My test for updating the libraries is under update_cli branch https://github.com/jaumard/ng2-dashboard/tree/update_cli

jaumard commented 7 years ago

@valorkin I made some move on this with some help from a contributor ^^ and I think it's very close to be done. I have one error left :

ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol NgModule in /Users/jaumard/LISAProjects/lisa-ui/node_modules/ng2-dashboard/node_modules/@angular/core/core.d.ts, resolving symbol Ng2DashboardModule in /Users/jaumard/LISAProjects/lisa-ui/node_modules/ng2-dashboard/components/index.ts, resolving symbol Ng2DashboardModule in /Users/jaumard/LISAProjects/lisa-ui/node_modules/ng2-dashboard/components/index.ts
webpack

I think it's related to AOT, maybe the way I use the library or the way I deploy it. Can you help with this ?

jaumard commented 7 years ago

Should be ok now on 1.0.4