Focusing on managing products, variants, and collections through the API.
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;
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.
No.
Check this - https://github.com/Shopify/shopify-app-template-remix/issues/436. But it is only for full-page apps. I tried it; it works in development, but not on the production server.
For liquid better use client-only app.