You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've setup resium in a react-vite storybook and it's working well for me to develop some custom components. I'm now trying to 'compose' the already published Resium storybook for the core components at https://resium.reearth.io/examples but am unable to do so.
// maint.tsimporttype{StorybookConfig}from'@storybook/react-vite';constconfig: StorybookConfig={refs: {'external-reaviz': {// example of a working composed storybooktitle: 'Reaviz',url: 'https://reaviz.io',expanded: false,},'external-resium': {// Trying to get resium storybook composition workingtitle: 'Resium',url: 'https://resium.reearth.io/examples/',expanded: false,// Optional, true by default},},};
The Resium storybook is hosted on the /examples subdirectory. The other storybooks I've successfully composed are on the base path. This probably isn't the cause but it is one thing different.
I've noticed a CORS error when pointing directly to the index.html file. I'm wondering if your hosting CORS config may be limiting the ability to compose the storybook
I'm using storybook v7. I don't think there should be an issue with this if you are still using v6 though.
The text was updated successfully, but these errors were encountered:
I've setup resium in a react-vite storybook and it's working well for me to develop some custom components. I'm now trying to 'compose' the already published Resium storybook for the core components at https://resium.reearth.io/examples but am unable to do so.
Some notes:
The text was updated successfully, but these errors were encountered: