There is a problem with Remix app template https://github.com/Shopify/shopify-app-template-remix.
I try to create custom app for my personal goals where I need 2 public pages.
I use 2 type of public pages;
- liquid - theme embed app
- html page - without theme layout simple page with some functionality
Here is the problem:
When I go to page /app/my-app-name/custom-page I see that HTML was rendered because SSR works fine.
But all the app assets like js and css doesn’t loaded because of build folder path problem, it directs to /build folder instead of /app/my-app-name/build
How can I fix it?
I use this article https://shopify.dev/docs/apps/getting-started/build-qr-code-app?framework=remix - step by step, but it doesn’t works properly.
Looks like there is a bug, and template doesn’t works properly.
Help me please, I try to rewrite URLs, but no luck.
This looks like huge bug in remix app template.