-
Notifications
You must be signed in to change notification settings - Fork 40
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
Angular 10 support #61
Comments
Hi @hardikpatel043 ! do you have |
Yes i have schemas: [CUSTOM_ELEMENT_SCHEMA]. Now i found the issue. I had bootstrap mentioned in my micro app. Once i removed it and created a bundle, it worked. Thank you for quick reply. |
@hardikpatel043 are you talking about |
@janstadt I think he had |
@tomastrajan Yes, you are correct. I had both previously, then i removed bootstrap[] in AppModule. |
thanks guys. I was able to get it working but now im running into an issue with property binding on Input() props. Its always null. I see there are a few closed issues that address this but was curious if there were any examples/stackblitz's that show the use of an web component created via an angular app inside a parent angular app. I gotta be missing something. Not sure what it is. I did notice that the parent container app (using axLazyElementDynamic) was angular 10 and the web component was generated using angular 9 so i downgraded the parent container app without any luck. Im going to try and create an entirely new component and app in the same version using the matching extensions package to see if i can get past this. #50 #54 |
Does this package works with angular version "^10.0.0"?
I tried it and I have got below error.
Here is my package.json
my app.component.html
<mf-home *axLazyElement="elementUrl"> </mf-home>
my app.component.ts
elementUrl = 'assets/bundles/main.f0aedbe8f4f67ea36480.js';
this main.js file is created with help of ngx-build-plus package. This works if I load this js file using script tag.
I can provide complete code if it is required.
The text was updated successfully, but these errors were encountered: