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
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025