How to develop a plugin to mount router



  • I want to add a custom route for a feature in my project,I think I need to develop a plugin for route .
    But I don't know how to develop a route plugin .
    Can someone give me an example ,Thanks



  • I have solved it. use "static:app.load" hook , and use the method's first arguments ,we can setting routes to do what we want to do


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.