fboeller/ngx-elements-router

Object(...) is not a function issue

Closed this issue · 1 comments

versions
parent app : angularjs 1.x + angular7 downgraded
child micro front end app: angular 11

is it possible to use this package with UI-router as the parent app navigation and states are managed using it?

I tried to create a sample folder in the angular7 module part of the app using the examples but got some errors.
image

@bennetsam I haven't used the UI router so far and am not aware how it works. This lib ngx-elements-router itself is directly coupled to how the Angular Router works, specifically relying on methods and properties in the Router and ActivatedRoute classes.
Regarding the Angular versions I have not tested with anything lower than Angular 10 so far but the changelogs of Router and Elements indicated so far that where no breaking changes since the introduction of Elements in 6.
Is this error something you can reproduce independently from the usage of the UI router or is coupled to it?