How can I setup the environment for this?
As far as I know, Angular 5 is backwards compatible, so this integration is still actual: GitHub - webix-hub/angular2-demo: Demo of Webix usage with Angular 2
I have tried this:
https://docs.webix.com/desktop__angular2.html for angular 5 and i’m getting this error:
ERROR in src/controls/datatable.component.ts(8,16): error TS2503: Cannot find namespace ‘webix’.
src/controls/datatable.component.ts(15,14): error TS2503: Cannot find namespace ‘webix’.
src/controls/datatable.component.ts(15,34): error TS2304: Cannot find name ‘webix’.
Also, this is not working,
npm run typings install df~webix --save --global
I tried running:
typings install dt~webix --save --global
After executing, It appears to be installed with all the entries in tsconfig.json and typings folder but still i’m getting an error.
Also, noticed how I changed the ‘df’ into ‘dt’, because the former has an error when executing the command.
Can you help us get around w/ this?
Thanks.
Nevermind the issue that i was experiencing, I already made it work, I just forgot to put the ‘webix’ inside the types entry of the tsconfig.app.json and instead I added it inside the tsconfig.json.
However, for future readers of the content, kindly changed the
‘npm run typings install df~webix --save --global’
to
typings install dt~webix --save --global
to avoid execution problem.
Thanks.