roadhog-api-doc
roadhog-api-doc copied to clipboard

在 window 环境下 node v9.0.0 ```bash Error: EBUSY: resource busy or locked, rmdir 'D:\MySpace\front-end\seed\web-project-seed\_roadhog-api-doc' at Object.fs.rmdirSync (fs.js:866:18) at rmdirSync (D:\MySpace\front-end\xxx\node_modules\fs-extra\lib\remove\rimraf.js:276:13) at Object.rimrafSync [as removeSync] (D:\MySpace\front-end\seed\xxx\node_modules\fs-extra\lib\remove\rimraf.js:252:7) at D:\MySpace\front-end\seed\xxx\node_modules\roadhog-api-doc\lib\build.js:88:8 at D:\MySpace\front-end\seed\xxx\node_modules\shelljs\src\exec.js:199:9 at...
有些警告和 一个错误 >react-ui build D:\code\newc\react-ui >cross-env DISABLE_ESLINT=true roadhog build Compiled with warnings. ./src/.roadhogrc.mock.js 12:25-37 './mock/dashboard' does not contain an export named 'getDashboard'. ....... E:\Program Files\nodejs\node_cache\node_modules\roadhog-api-doc\lib\static.js:97 throw new Error(e); ^ Error:...
我进入ant pro得my-project里运行roadhog-api-doc start。 它自动创建了8001端口,页面里得dist文件里没有api.html页面,public里有api.html页面,打开之后无内容,console里报404和because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
能不能添加success说明功能
run ` roadhog-api-doc start 8001` but auto open **http://localhost:8000/** and i can not open **http://localhost:8001/**
https://github.com/brookshi/Hitchhiker
https://github.com/Rebilly/ReDoc/ 看看有没有可能转换。