learnshopify.dev/Workspace
local task

Create a page called Bundles and add it to your app's menu.

Pass criterion: `app/routes/app.bundles.tsx` exists, and the menu in `app/routes/app.tsx` links to `/app/bundles`.
$ npx @learnshopifydev/cli check add-a-page-to-your-app
1. Create `app/routes/app.bundles.tsx` and paste this into it

The top part, the loader, checks that the visitor comes from a store that installed your app. The bottom part is what the store owner sees.

2. Open `app/routes/app.tsx` and add this line to the menu

Find `<s-app-nav>` and paste this line under the two `<s-link` lines. Without it nobody can click to the page.

3. Look at your app in the Shopify admin

`shopify app dev` has to be running. Your app's menu now has a link called Bundles.

0 / 1 task solved