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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to