Is there a way to define a routes.json file when initializing a json-server in javascript?

前端 未结 0 1573
日久生厌
日久生厌 2021-01-14 06:25

If you want to use a routes.json file for custom json-server routing from the command line, you can do so with the --routes option like this:

json-server --wa         


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