-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Components loading failing with using the content module #223
Comments
I also experienced the same bug, when using the plugin with dynamic components like this:
I stepped back to 2.1.8 with yarn resolutions like this:
There I don't have any problems. It is also only happening, when building/generating the page. |
I'm using undocumented
Even more annoying that it doesn't trigger in development so the issue is only discovered after deploying. |
Yes, I also think, that this feature may be a breaking change for dynamic components. I also tried adding async to the filename, but this doesn't work either. |
I'm getting errors like: What would be a way to get things to work for someone who uses |
Thanks for reproduction @kalinichenko88. Just remove |
components/global が読み込まれない現象が改善された nuxt/components#223
I am still having this issue, but it fails without an error. The vue component in the .md files load perfectly in the dev environment but not when using generate or build. I am on: "@nuxt/content": "^1.11.1", components: true Update: Switched from using components: true to components: { loader: true } as mentioned previously above and that actually fixed it for me. |
Describe the bug
In dev mode all works. But
nuxt generate
andnuxt build
failed with the errorTo Reproduce
Steps to reproduce the behavior:
https://github.com/kalinichenko88/nuxt-components-bug
npm i
npm run generate
Error: render function or template not defined in component: tutorial
The text was updated successfully, but these errors were encountered: