async-yapi-interface-egg-router

1.0.0 • Public • Published

async-yapi-interface-egg-router

Generate egg.js router by YApi interface.

install

npm i -g async-yapi-interface-egg-router

how to use

1.Create yapi.json in your project root directory.Like this:

{
  "baseUrl":"http://host:port",
  "token":"project token"
}

2.Use the cd command to enter the directory. 3.Run command.Like this:

yapi-egg init menu_name 

menu_name is the category name in project。

Package Sidebar

Install

npm i async-yapi-interface-egg-router

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

6.71 kB

Total Files

6

Last publish

Collaborators

  • toddtodd