DenoDDeno
Powered by
alexp95A
Denoβ€’3y agoβ€’
4 replies
alexp95

How do I have a subrouter in Oak?

I want to use a subrouter in oak to handle part of the routing, how would I do that in Oak? here is an example in Express.js
app.use("/path/to/subrouter", subrouter);
app.use("/path/to/subrouter", subrouter);
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

get in oak
dan.the.discloserDdan.the.discloser / help
4y ago
Get a Parameter Value in Oak
alexp95Aalexp95 / help
3y ago
how to document oak api
bigBbig / help
3y ago