# web-console **Repository Path**: relinson_private/web-console ## Basic Information - **Project Name**: web-console - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-17 - **Last Updated**: 2024-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # web-console ![Github release](https://img.shields.io/npm/v/@whinc/web-console.svg) ![总下载量](https://img.shields.io/npm/dt/@whinc/web-console.svg) ![月下载量](https://img.shields.io/npm/dm/@whinc/web-console.svg) ![周下载量](https://img.shields.io/npm/dw/@whinc/web-console.svg) ![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/@whinc/web-console.svg) ![LINCENSE](https://img.shields.io/github/license/mashape/apistatus.svg) web-console 是一款基于 H5 开发的移动端 Web 调试工具。其高度还原了 Chrome DevTools 的功能和交互,支持 webpack 打包和` ``` 通过下面代码初始化 ```js new WebConsole(config); ``` ## API `WebConsole`构造参数如下: | 字段 | 类型 | 必填 | 备注 | | --------- | ------------ | ----- | ------------------------------------ | | panelVisible | bool | false | 是否自动弹窗主面板 | | activeTab | string | 'console' | 默认激活的 Tab 面板,支持'element', 'console', 'network', 'application', 以及插件的 id | | entryStyle | string | 'button' | 入口样式,支持两种'button'和'icon' | > 后续补充更多的配置参数和 API 接口 ## 插件开发 web-console 提供一些开箱即用的功能,如果这些无法满足你的需求,你还可以通过 web-console 提供的插件机制,添加第三方编写的插件来扩展功能。 可参考下面资源: - [插件开发文档](./docs/plugin.md) - [插件项目模板](https://github.com/whinc/web-console-plugin) ## 更新日志 [CHANGELOG](CHANGELOG.md) ## 相似项目 **Web** - [vConsole](https://github.com/Tencent/vConsole) A lightweight, extendable front-end developer tool for mobile web page. - [eruda](https://github.com/liriliri/eruda) Console for mobile browsers **Native** - [wt-console](https://github.com/WeBankFinTech/wt-console) A lightweight, extendable react-native developer and tester tool ## License MIT