Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If there is no "Enter" in the front of <Meta> in the .mdx file will cause the error. #11122

Closed
woaiwodib107 opened this issue Jun 11, 2020 · 1 comment

Comments

@woaiwodib107
Copy link

If there is no "Enter" in the front of in the .mdx file, it will cause the error :"Unexpected default export without title: {"includeStories":[],"parameters":{"docs":{}}}"

There is no "Enter" in the front of in the .mdx file
image
There will be the error.
image

There is "Enter" in the front of in the .mdx file
It is work.
image

@shilman
Copy link
Member

shilman commented Jun 11, 2020

Whitespace matters in MDX. Hopefully this gets fixed in MDX 2.0. This issue is a slightly different case, but closing this as dupe to #7902

@shilman shilman closed this as completed Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants