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

Nuxt usage #2

Open
benjick opened this issue Apr 24, 2020 · 0 comments
Open

Nuxt usage #2

benjick opened this issue Apr 24, 2020 · 0 comments

Comments

@benjick
Copy link

benjick commented Apr 24, 2020

Hi!

Thanks for putting this example out there. I'm using Nuxt and I'm trying to implement this code into my own project, but I get this jsx error:

WARNING in ./components/stories/Button.stories.mdx 4:0
Module parse failed: Unexpected token (4:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import Button from '@/components/Button'
|
> <Meta title="Button Docs" component={Button} />
|
| # Button Docs
 @ \.)(?=.)[^\/]*?\.stories\.(js|mdx))$ (./components/stories sync ^\.\/(?:(?:|\/|(?:(?:(?!(?:|\/)\.).)*?)\/)(?!\.)(?=.)[^\/]*?\.stories\.(js|mdx))$) ./Button.stories.mdx
 @ ./.storybook/generated-entry.js
 @ multi ./node_modules/@storybook/core/dist/server/common/polyfills.js ./node_modules/@storybook/core/dist/server/preview/globals.js ./.storybook/preview.js ./.storybook/generated-entry.js (webpack)-hot-middleware/client.js?reload=true&quiet=true

Any suggestions? Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant