We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
修改完这个postman.js文件后,重启yapi,没有效果。这是为什么?是还要重启其他文件吗?
The text was updated successfully, but these errors were encountered:
修改完代码需要重新编译才可以。然而在使用yapi-cli安装的代码里我怎么都编译不成功。所以参考yapi的命令行部署和yapi里的package.js里面的命令,重新部署了一遍。 操作流程:
// 停止旧的yapi服务 mkdir yapi cd yapi git clone https://github.com/YMFE/yapi.git vendors cp <旧的yapi目录>/config.json ./config.json //复制旧的配置文件到新目录 cd vendors npm install --production --registry https://registry.npm.taobao.org // 修改 client/components/Postman/Postman.js npm run build-client // 重新编译(这整这么多就是为了执行这个) // 官方的部署流程有 `npm run install-server` 这一步,因为我们不需要在初始数据库,所以不要执行这一步 node server/app.js
Sorry, something went wrong.
No branches or pull requests
修改完这个postman.js文件后,重启yapi,没有效果。这是为什么?是还要重启其他文件吗?
The text was updated successfully, but these errors were encountered: