Git Product home page Git Product logo

magix-inspector's Introduction

Magix Inspector Version Number THX Team License download

Magix项目的调试分析工具,直观的展示区块间的层级关系、事件绑定、数据共享、mixins等。实时以不同颜色显示渲染情况,正确渲染的区块以绿色表示,其它颜色则表示需要改进,鼠标移到相应的区块上会有关联提示

magix

使用

npm install magix-inspector

然后在html页面中通过script引入,如

<script src="node_modules/magix-inspector/src/index.js"></script>

或引入线上的js

<script src="https://thx.github.io/magix-inspector/index.js"></script>

或通过书签的方式添加一段js代码:

javascript:void((function(d,s){s=d.createElement('script');s.src='https://thx.github.io/magix-inspector/index.js';s.charset='utf-8';d.body.appendChild(s)}(document)))

在运行Magix项目的页面上点击添加的书签,既可使用线上的Magix Inspector来查看区块间关系

安装chrome扩展

感谢邱德清同学提供的代码,详情请访问这里:https://github.com/qiu-deqing/magix-helper

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.