hz-zhhq-app/node_modules/vconsole
haozq ad829040d9 first commit 2025-01-22 10:53:47 +08:00
..
.github/ISSUE_TEMPLATE first commit 2025-01-22 10:53:47 +08:00
dev first commit 2025-01-22 10:53:47 +08:00
dist first commit 2025-01-22 10:53:47 +08:00
doc first commit 2025-01-22 10:53:47 +08:00
example first commit 2025-01-22 10:53:47 +08:00
src first commit 2025-01-22 10:53:47 +08:00
.editorconfig first commit 2025-01-22 10:53:47 +08:00
CHANGELOG.md first commit 2025-01-22 10:53:47 +08:00
CHANGELOG_CN.md first commit 2025-01-22 10:53:47 +08:00
LICENSE first commit 2025-01-22 10:53:47 +08:00
README.md first commit 2025-01-22 10:53:47 +08:00
README_CN.md first commit 2025-01-22 10:53:47 +08:00
babel.config.json first commit 2025-01-22 10:53:47 +08:00
package.json first commit 2025-01-22 10:53:47 +08:00
tsconfig.json first commit 2025-01-22 10:53:47 +08:00
webpack.serve.config.js first commit 2025-01-22 10:53:47 +08:00

README.md

English | 简体中文

vConsole

npm version

A lightweight, extendable front-end developer tool for mobile web page.

Features

  • View console logs
  • View network requests
  • View document elements
  • View Cookies, LocalStorage and SessionStorage
  • Execute JS command manually
  • Custom plugin

Usage

Method 1: Using npm (Recommanded)

$ npm install vconsole
import VConsole from 'vconsole';

const vConsole = new VConsole();
// or init with options
const vConsole = new VConsole({ maxLogNumber: 1000 });

// call `console` methods as usual
console.log('Hello world');

// remove it when you finish debugging
vConsole.destroy();

Method 2: Using unpkg CDN in HTML:

<script src="https://unpkg.com/vconsole/dist/vconsole.min.js"></script>
<script>
  // VConsole will be exported to `window.VConsole` by default.
  var vConsole = new window.VConsole();
</script>

See Tutorial for more usage details.

Preview

http://wechatfe.github.io/vconsole/demo.html

Documentation

vConsole:

Plugin:

Third-party Plugins

Changelog

CHANGELOG.md

Feedback

QQ Group: 497430533

License

The MIT License