Hi Telmo, I think you have a typo in the code here - const content = import(../../content/${slug}.md) , it should be const content = await import(../../content/${slug}.md)
So i have a doubt , Suppose if i have a count of 500 posts in my website ,should i need to create 500 markdown files for that?
Please help in an efficient approach
Thanks! This article is very helpful!
Thanks Krisztian 🎉
Do you have any idea how to implement MDX support into this logic?
I do not, but I can explore it.
Hi Telmo, I think you have a typo in the code here -
const content = import(../../content/${slug}.md), it should beconst content = await import(../../content/${slug}.md)Hey Lawrence, you're right. Thanks for the heads up, will change it 👍
Thank you for writing this article!
It was helpful.
Thank you Kerry 😃
That is very helpful. Thanks
So i have a doubt , Suppose if i have a count of 500 posts in my website ,should i need to create 500 markdown files for that?
Please help in an efficient approach
Thanks this is very helpful!
Awesome tutorial. This very helpful