How to make default auto slug from title in Node.js?

后端 未结 0 898
礼貌的吻别
礼貌的吻别 2021-02-14 01:11

I am trying to make a blog and would like the show route for my posts to contain a slugified version of the posts title instead of a long ID. An example is example.com/blog-titl

相关标签:
回答
  • 消灭零回复
提交回复
热议问题