Web SDK - Angular version
RéponduHi Openrainbow support!
I see that your web sdk library is dependent on angular 1.5.7 and cannot load without it.
But, my company Leroy Merlin want new projects to be built with angular 2+
Should I wait for a possible support of angular 2+ in a near future (like, few weeks), or should I try to force my company to do an exception with angular 1.5.7 ?
Thanks for your feedback!
Benoit Colin
-
Hi Benoit,
We provide containers/starter kits in https://github.com/Rainbow-CPaaS
The one you need is I think:
https://github.com/Rainbow-CPaaS/StarterKit-SDKWeb-Angular2A port to Angular2+ has no delivery date yet, sorry.
Best regards,
Pascal -
Hi all,
Pascal, the starter kit you attached only have Angular Framework installed and Rainbow SDK connection, i have prepaired and connected but where can I find examples of developed components like this?
I need some examples to understand the mechanics and all that i found is with older Angular mechanics (modules, controllers, etc...).
I'm confused about conexion between views and Typescript files, if there are some new examples i think will be easier.
Thanks of all! -
Hi,
You need sources examples for angular ?
Like the one provided and you may download from- https://hub.openrainbow.com/#/documentation/doc/sdk/web/guides/13-Development_Kit
- https://github.com/Rainbow-CPaaS
?
-
Thanks for answer. Yes, I'm looking for examples to Angular, not AngularJS. As I understand, all the new angular versions (+2) works with Typescript as controller, and examples haven`t any Typescript files.
Could you attach something with this example of new Angular versions?
Log-In example in Rainbow platform using Angular with Typescript controllers would be perfect.Thanks!!
-
Hi,
To build your own angular / angularjs app, you may check the howto there.
https://angular.io/guide/quickstart
FYI, there are .ts files in the StarterKit-SDKWeb-Angular2:
https://github.com/Rainbow-CPaaS/StarterKit-SDKWeb-Angular2
(in src directory)
Pascal
-
Yes, there are .ts basic files and one .ts file with sdk connection, but we don't have component examples like in the other sources. (SDK AudioVideoAngularSample, SDKSearchAngularSample, SDK TelephonyAngularSample)
Angular JS examples use only JS and in Angular is mandatory to build the app in .ts components estructure.When i create a component in Angular, automatically creates her .ts and .css files, not .js like other examples. The difference between one and other is what i need to see to try develop something similar and make testing.Thanks again, Regards!
Vous devez vous connecter pour laisser un commentaire.
Commentaires
9 commentaires