Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Express.js上是否有与Rails / Flask等效的方法?Express.js 似乎提供了路由器,但我找不到它的相反功能。url_for
url_for
没有这样的方法,因为 Express 更轻量级并且默认没有 MVC 结构,Sinatra 也没有(Express 是受 Sinatra 启发的)。