-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BotFramework-WebChat is not working with Angular 5 #1050
Comments
Looks like TypeScript errors. I never try cross-compile it with Angular, does it works with other projects? Or how about building a BotChat.js and consuming it use JavaScript instead of React? |
Yes. We are using BotChat.js and building our angular app using ng build commands. But it's working with old versions of boatchat framework |
Any updates on the issue? |
+1 |
In Angular, can you dedicate a DOM element and everything under that DOM element will not be controlled by Angular? You can refer to this sample to integrate Web Chat in non-React environment. |
@compulim check with Omar who can help with Angular issues |
Has anyone successfully completed the integration? Would love to see a sample. |
Hello @Prijil .. I'll be helping you out with this request. At a first glance it looks like that there are some compilation errors, and it seems to me that you might be missing some I will recreate your scenario and see how it goes from there to confirm. |
Hello again, Please find a working sample of the web chat ported into an Angular application on a sample repo I created here: https://github.com/omarsourour/ng-webchat-example. The sample is based on Angular 5 and Bot Framework Webchat 0.14.0 as mentioned above. Some important notes to highlight are:
This sample should provide you what you need for your issue. Do tell if you hit any difficulties installing or running the sample, understanding the problems that caused this to happen in the first place, or require additional help :) |
Hello Omar can you update the your sample [https://github.com/omarsourour/ng-webchat-example.] with version latest Bot Framework Webchat 4.2.0 |
Sure thing, I will update the repo with a new version using WebChat 4.2.0 using Angular 5, and I will reply here |
@mkarl1983 Please refer to #1423 . I am currently waiting on a patch from WebChat for me to be able to proceed with an update to the example. |
Hi @omarsourour , Is there any version for angular 9 and latest webchat version |
Hi Team,
I am using the latest botframework (0.14.0). My angular configurations are below.
.html
.js:
am getting the blow error when compiling
(Edited by @compulim for code formatting)
The text was updated successfully, but these errors were encountered: