-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
closed: invalidThis issue / PR is low quality, unwanted or spam and doesn't qualify as a contribution in any way.This issue / PR is low quality, unwanted or spam and doesn't qualify as a contribution in any way.documentationThe issue is related to the documentation of DocusaurusThe issue is related to the documentation of Docusaurus
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Description
There is no documentation (or if there is, I cannot find it) of what needs to be modified in the tsconfig.json file to remove the "cannot find module" errors when importing .md or .mdx files into a .tsx page.
For sass modules (*.module.scss files), there is documentation on how to resolve these errors in typescript:
https://docusaurus.io/docs/styling-layout#typescript-support
I have no doubt the fix for .md and .mdx files are similar to the fix for sass, but it isn't obvious, and I haven't been able to figure out what docusaurus plugin item needs to be added to the tsconfig.json types to resolve these issues.
Examples of error:
Self-service
- I'd be willing to address this documentation request myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
closed: invalidThis issue / PR is low quality, unwanted or spam and doesn't qualify as a contribution in any way.This issue / PR is low quality, unwanted or spam and doesn't qualify as a contribution in any way.documentationThe issue is related to the documentation of DocusaurusThe issue is related to the documentation of Docusaurus
