Ali Hasnain
Ali Hasnain

Reputation: 1

sub app lazy loading within an angular micro front end in single-spa

I'm using single-spa library to create micro-front-ends. I'm trying to implement lazy loading in one of microfrontend. Normal routing is working fine but when I try to lazy load a module in one microfrontend it doesn't load and gives error.

https://github.com/single-spa/single-spa-angular/issues/116

I'm facing exactly same issue and use the method he tried to resolve issue but I still got exceptionsenter image description here

Upvotes: 0

Views: 1251

Answers (1)

Ali Hasnain
Ali Hasnain

Reputation: 1

I guess I have found the answer. You have to add deployUrl in you angular.json file and that's it

Upvotes: 0

Related Questions