Remix embedded app route convention

Topic summary

A developer is seeking clarification on routing conventions for Shopify embedded apps, specifically questioning whether the /app prefix included in CLI-generated templates is mandatory or merely a template convention.

Key Question:

  • Is the /app route prefix required for production Shopify embedded apps, or can custom routing structures be used?

Context:

  • The Shopify CLI generates app templates with routes using the /app prefix by default
  • The developer wants to understand if this is a strict requirement or just a suggested pattern

Status: The question remains unanswered, awaiting input from community members or Shopify developers with experience in embedded app routing conventions.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hello,

I have a question about the conventions and rules for Shopify embedded apps. Are there any specific requirements for the routes in my app?

I’m asking because when we create a new app using the CLI, the generated template includes routes with the /app prefix. Is this required in the final app, or is it just part of the template?

Thanks for your help!