DimensionSoftware / generator-shopify-nextjs

A Yeoman generator for Serverless Shopify apps using Next.js, Koa, Prisma GraphQL & Shopify's Polaris
https://dimensionsoftware.com
MIT License
32 stars 8 forks source link

ResourcePicker component not rendering on Shopify Admin #3

Open junaid33 opened 5 years ago

junaid33 commented 5 years ago

Hello,

I am trying to add a ResourcePicker to index.js and it does not load in the Shopify Admin. Is this a problem with the AppProvider component and SSR? I see it referenced here:

https://github.com/Shopify/polaris-react/issues/372

Thank you!

khoerling commented 5 years ago

Likely the issue isn't related to SSR as the version of Polaris specified in our package.json server-renders OK, difficult to write without seeing the error...

junaid33 commented 5 years ago

Hmmm...it doesn't throw an error. It's just not rendered on localhost nor on the Admin as an embedded app. If you would like to test, just import ResourcePicker.