so I add a markdown-loader in the webpack.config.js,but I failed. I don’t know exactly what loader does rendering a markdown need and how to edit the webpack.config.js rightly.If anyone has tried to render a markdown in a .tsx file,please tell me how you did that,thanks^-^
Thanks for your reply,but the markdown file I actually need is huge,so a md loader is necessary in my case,do you know any way to resole a imported .md file sucessfully.
I don’t see how the size of the markdown file has anything to do with what kind of loader you need. In the end, all you want is for the require('.../help.md') call to return a string containing its content, right? That’s what the linked documentation should help you accomplish.