regular-devtools
regular-devtools copied to clipboard
Devtools for Regularjs
使用webpack开发,工具提示找不到Regular实例 主要代码如下: ````JavaScript import App from "./App"; import router from "./router"; import restate from "regular-state"; new App({ data: {username: "leeluolee"} }).$inject('#app'); restate() .state(router.routes) //完成路由节点注册 .start({ html5: true ,view: document.getElementById('app')}); //...
现在是悬浮时scrollIntoView,有时想要切换到console面板,鼠标移动过程中,其他组件进入视野中了,体验不太好
有时候会很有用,什么事件被触发,触发时携带的参数,以及事件来源组件(点击跳转到对应组件)
Consider using https://github.com/DrewML/chrome-webstore-upload-cli refer to [Travis auto-upload guide](https://github.com/DrewML/chrome-webstore-upload-cli/blob/master/Travis%20autoupload%20guide.md) @zxc0328
可以在sidebar加一个Performance tab,可视化的展示显示选中组件整个组件树的watcher和stable watcher的数量情况。
远程调试chrome外的页面(比如移动设备),调试bug,或者修改页面中的一些数据
- [uuid](https://github.com/regularjs/regular-devtools/blob/e2a7a55067025143365567683748b1349d8814c5/frontend/inject.js#L203) - [visited](https://github.com/regularjs/regular-devtools/blob/e2a7a55067025143365567683748b1349d8814c5/frontend/inject.js#L189) 修改uuid和visited会污染组件实例,不排除实例本身就存在这两个属性的可能,记录下,后面修复