I have created an SPFx React solution for custom development in SharePoint Online.
I have taken reference from the Create a Single Page App in SPFx using React Router Dom link.
Now, I need to add the same SPFx app to the Teams tab. So, I have taken reference from the How To Use SharePoint Framework (SPFx) In Teams To Build An App link.
When I published the app in the SharePoint App Catalog and add that app to the SharePoint site page the routes worked as expected. But I published the same app to the Teams tab routes not worked as expected. It showing blank under the Teams tab.
Can anyone help me with the same?
Thanks