Polaris web components not rendering

I am developing a custom app using Remix template and tried to use Polaris web components (s-*) for embedded Admin pages but they are not rendering at all. I believe polaris.js that is supposed to be injected automatically by AppProvider is not getting loaded. There are no console errors that indicate what the root cause could be.

Any idea?

Have you followed these steps?

1 Like

Thanks a lot @Luke. Made amateur mistake. In my searches, I found only examples react or js code using AppBridge but not for Remix. And the Shopify dev docs AI Assistant led me on a wild goose chase with App Provider.

The link you provided is what I needed and it worked like a treat. Thanks again.