OffiDocs Logo
OI GoGPT GoSearch W New DOC X New XLS P New PPT

OffiDocs favicon

nei chrome devtools in Chrome with OffiDocs

nei chrome devtools  screen for extension Chrome web store in OffiDocs Chromium

Ad


DESCRIPTION


Nei Chrome插件 前端工程师在开发页面的时候,经常会碰到一个很实际的问题: 在后端接口还没开发完成时,前端怎么办? 通常有两种方案: 1. 直接在代码中 mock 相应的数据。这种方案的缺点很明显,会引入无用的代码。 2. 请求转发,利用nginx或者本地server(webpack-serve)将本地开会过程中调用的接口转发到nei线上服务。 方案二 看似完美,但是在实际使用过程中有配置成本层面的问题: 1. 接口变更(新增、删除、修改)都需要更新转发路由表的配置文件 2. 接口开始和关闭mock服务,配置比较繁琐,不够直观 3. webpack-serve方式代理,在多人协助时git冲突不可避免 基于目前开发阶段前端工程师大多使用chrome调试的现状,将方案二中请求转发的逻辑迁移到浏览器中处理,并提供开启关闭接口mock的交互界面。

Additional Information:


- Offered by amibug
- Average rating : 0 stars (hated it)
- Developer This email address is being protected from spambots. You need JavaScript enabled to view it.

nei chrome devtools web extension integrated with the OffiDocs Chromium online


Run Chrome Extensions

×
Advertisement
❤️Shop, book, or buy here — no cost, helps keep services free.