@smock/umi-plugin-smock
v0.1.42
Published
模拟接口数据
Downloads
4
Readme
umi smock工具插件
umi-plugin-smock
安装方法:
npm i @smock/umi-plugin-smock
# 或
yarn add @smock/umi-plugin-smock
指定NO_SMOCK环境变量可禁用mock 例如:
export NO_SMOCK=true
smock工具参考文档: https://www.npmjs.com/package/@smock/mock