PDA

View Full Version : ext-angular with angular-cli



vectoris
15 Mar 2019, 9:44 AM
Hello!
I tried to get started with the getting_started.md document from the github repository to integrate ext-angular within angular-cli. But unfortunately it didn't work.
First problem was, that the import in app.module.ts
import { ExtAngularModernModule } from './ext-angular-modern/ext-angular-modern.module'
is not possible because the folder doesn' exist and no @sencha/ext-angular-modern module was present. I changed that to
import { ExtAngularModule } from '@sencha/ext-angular' in hope that this is the right one.
After that i got that build error:
Data path "" should NOT have additional properties(es5BrowserSupport).

Updating @angular-builders/custom-webpack and "@angular-builders/dev-server" to the latest version fixed that.
Now the build is successfull and a "dist" folder is created with ext-files in it, but the app doesnt work because the ext.js files are not hosted within the Angular dev server. Http-Error 404
https://user-images.githubusercontent.com/8465587/54411731-5eea0080-46f0-11e9-896b-af2545bcdf1f.png (https://user-images.githubusercontent.com/8465587/54411731-5eea0080-46f0-11e9-896b-af2545bcdf1f.png)
I tried a few things but nothing worked....
Can you please try it yourself an update the readme and/or can you please help me?
THX in advance!

Forum_Adm
25 Mar 2019, 7:48 PM
Thank you so much for your post. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated! We do suggest using the support portal when you need assistance with a capability of a Sencha product, you have identified a situation where a products behavior is inconsistent with the product documentation and might indicate a software bug, or when the communication between you and Sencha needs to be private.

Thanks again,

Michele

rakumar
3 Apr 2019, 8:30 AM
Hello,

Thank you for contacting Sencha Support!

We have reached out an Architect for his review on this and will keep you posted as soon as we hear from them.

Thank you for your patience.

Regards,
Kumar
Sencha Support

rakumar
8 Apr 2019, 6:30 AM
Hello,

Thank you for your patience,

We are still awaiting response from the Architect team on this issue, I will ensure that your are updated as soon as there is a response from them.

Regards,
Kumar
Sencha Architect.

mgusmano
16 Apr 2019, 2:33 AM
We are working on this issue now and I will let you know when we have a solution