Skip to content

基于chrome 插件的 代理调试 , 数据mock 解决方案

License

Notifications You must be signed in to change notification settings

breakfriday/supertools

Repository files navigation

本地开发调试模式

npm run build:chrome_dev_host
npm run start

build打包

 npm run build:chrome_pro 

手动配置规则

window._forward.config = {
 proxy: new Map([
   [
     'https://dev.zcycdn.com/web-cs-robot-front/cs-robot/umi.(.*).js', // https://dev.zcycdn.com/web-cs-robot-front/cs-robot/umi.(.*).js
     'https://localhost:8000/cs-robot/umi.js', // http://127.0.0.1:3000/index.js
   ],
   [
     'https://dev.zcycdn.com/web-cs-robot-front/cs-robot/umi.(.*).css',
     'https://localhost:8000/cs-robot/umi.css', //
   ],
 ]),
};

📺 Screenshot

assets 代理

接口 代理

本地mock 代理

帮助文档

帮助文档: https://www.yuque.com/luoxuan-nir7u/mdzc63/xcb176ahlhis78w4?singleDoc# 《supertools》

About

基于chrome 插件的 代理调试 , 数据mock 解决方案

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published