I’m building my app with the react-router template. I tried to add an s-link to the “breadcrumb-actions” slot in s-page. Whenever i click on the link, it’s show me a login page:
No, not yet. I think it’s a bug that has to be fixed by shopify team. I’ve also tried to use onClick to navigate programmatically, but it doesn’t work either. It seems that onClick doesn’t work with the s-linkin the breadcrumb-actions slot.
@hieu.digital Did this end up starting to work for you using the href or onClick? Just seeing this thread for the first time and for me the onClick way works now, still no luck with href
Allright I finally resolved what the issue has been for myself.
Having created my Remix application from the @shopify/shopify-app-remix template over a year ago I had never updated my app/root.tsxroute to include the shopify:navigate custom event handler as instructed in the app home docs for existing Remix applications.