What is Difference between app.get() and router.get() in ExpressJs

前端 未结 0 1354
自闭症患者
自闭症患者 2020-11-22 09:47

I\'m starting with NodeJS and Express 4, and I\'m a bit confused. I been reading the Express website, but can\'t see when to use a route handler or when to use express.Route

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