Let me try to explain what I'm trying to do, and what I'm doing. I have create a SPA (secondapp) for a specific project, now they want to have a portal including that SPA previous created. So, I'm trying to get that portal or main SPA to call the secondapp.
What I'm doing is building my secondapp and copy those dist files to my wwwroot/secondappfolder/ I call the secondapp as window.location.href = '/secondappfolder'. Just keep in mind that my main app is deploy to wwwroot. Thank you El miércoles, 20 de diciembre de 2017, 9:23:11 (UTC-5), Maria escribió: > > Hi, > > Yes, I'm trying to route from one SPA to another, but that other SPA I > named the index.html as app2index.html and app2main.ts, so I'm trying to do > a href='/mySecondSpa'>Second spa</a> but I get the Error: Cannot match any > routes. URL Segment: /mySecondSPA. But if I leave the default index and > main, I get other errors like if they are duplicated. > > Thank you for your answer. > > El martes, 19 de diciembre de 2017, 23:24:35 (UTC-5), Sander Elias > escribió: >> >> Hi Maria, >> >> A lot of things going on in this thread. I'm not sure if I understand >> your question? Are you trying to route from one SPA to another? Or inside >> one SPA? >> If you want to go to a different SPA, you use a normal anchor (`<a >> href='/mySecondSpa'>Second spa</a>`). inside a single one, you use the >> routerlinks. >> >> Regards >> Sander >> >> >> -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.