bluwy / whyframe

Develop components in isolation with just an iframe

Home Page:https://whyframe.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using components through MDX in Docusaurus throws error missing data-why-id

paularmstrong opened this issue · comments

Attempting to use components in Docusuarus with MDX results in an error:

Error: [whyframe] iframe does not have an id

See the /docs/intro.mdx page and console error:
https://stackblitz.com/edit/bluwy-whyframe-iag2cn?file=package.json,docs%2Fintro.mdx,src%2Fpages%2Findex.js

Ah this is the same issue as #11 but I forgot to do the same for webpack. Fixing this!

Fixed in @whyframe/core 0.1.8