在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Tencent/vConsole开源软件地址(OpenSource Url):https://github.com/Tencent/vConsole开源编程语言(OpenSource Language):TypeScript 47.4%开源软件介绍(OpenSource Introduction):English | 简体中文 vConsoleA lightweight, extendable front-end developer tool for mobile web page. vConsole is framework-free, you can use it in Vue or React or any other framework application. Now vConsole is the official debugging tool for WeChat Miniprograms. Features
For details, please see the screenshots below. Release NotesDetailed release notes for each version are available on Changelog. GuideSee Tutorial for more usage details. For installation, there are 2 primary ways of adding vConsole to a project: Method 1: Using npm (Recommended)$ npm install vconsole import VConsole from 'vconsole';
const vConsole = new VConsole();
// or init with options
const vConsole = new VConsole({ theme: 'dark' });
// call `console` methods as usual
console.log('Hello world');
// remove it when you finish debugging
vConsole.destroy(); Method 2: Using CDN in HTML:<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script>
// VConsole will be exported to `window.VConsole` by default.
var vConsole = new window.VConsole();
</script> Available CDN:
Previewhttp://wechatfe.github.io/vconsole/demo.html ScreenshotsOverviewLog PanelSystem PanelOutput logs to different panelconsole.log('output to Log panel.')
console.log('[system]', 'output to System panel.') Network PanelElement PanelStorage PanelDocumentationvConsole: Custom Plugin: Third-party Plugins
FeedbackQQ Group: 497430533 License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论