ziv-zjc / we-debug

微信小程序调试工具

Home Page:https://dlhandsome.github.io/we-debug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



we-debug

Build Status npm-version npm

一款灵活、易于拓展的小程序端调试工具

安装

  • 通过 npm 安装(推荐)
npm install @we-debug/core --save
  • 下载代码

克隆项目至本地,并将dist目录拷贝到自己的项目中

https://github.com/dlhandsome/we-debug.git

使用

  1. 在 json 配置中添加 we-debug 组件声明
{
  "usingComponents": {
    "we-debug": "@we-debug/core/component/index/index"
  }
}
  1. 在页面 wxml 中创建 we-debug 组件
<we-debug></we-debug>
  1. 在 app.js 中初始化 we-debug 相关配置
const weDebug = require('@we-debug/core/libs/index')

weDebug.init()

在线体验



相关链接

About

微信小程序调试工具

https://dlhandsome.github.io/we-debug

License:MIT License


Languages

Language:JavaScript 91.7%Language:CSS 8.3%