An error occurred when importing a global component. The component cannot be found #9948
Closed
5 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: can't repro
This bug is because of some local setup that can't be reproduced.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
After upgrading to version 3.1.1, I reinstalled the dependencies and found that the global components were not available and must be imported into the corresponding file, which was not needed before because MDXComponents had been registered.
Reproducible demo
No response
Steps to reproduce
Expected behavior
As before, the global components have been registered, so there is no need to import them when they are used
Actual behavior
Have registered the global component, so in the use of the component still need to introduce, this unfriendly, then the global component of what is the point?
Your environment
Self-service
The text was updated successfully, but these errors were encountered: