All things Shopify and commerce
I have just created an app and run it using yarn run dev command and installed it in my store but I don't see additional pages. If I create any new page it does not show in the navbar. I always see the following page. I don't know why 401 unauthorized is appearing all time because I already cleared my cache from the browser and re-login.
Hi Mrkarim,
For additional Page you need to add your page in app.tsx file
import { NavMenu } from "@shopify/app-bridge-react";
<NavMenu>
<Link to="/app" rel="home">
Home
</Link>
<Link to="/app/additional">Additional page</Link>
</NavMenu>
Also you need to make sure you create page eg: app.additional.tsx in your app file
Thanks
The issue was my computer time, due to time conflict my jwt token always was sending 401 error
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024