1

Tried to build something using Single-Spa and faced with problem adding to app AngularJS. Angular2 and ReactJs working perfect but if add AngularJS and tried to use url for this app - it breaks a url of parent app. for example link was:

http://localhost:8080/#/app  => http://localhost:8080/#!#%2Fapp

After it app of AngularJS not working at all. I use for bundling webpack and added application exactly like in examples of Single-Spa. Maybe someone has ideas how to fix it?

Community
  • 1
  • 1
FridmanChan
  • 130
  • 10

1 Answers1

1

on owners repo I've got answer: Add $locationProvider.hashPrefix(''); into your route configuration and everything will start to work.

FridmanChan
  • 130
  • 10