GithubHelp home page GithubHelp logo

adexandros / m2-devtools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magento/m2-devtools

0.0 2.0 0.0 895 KB

Helpful in-browser debugging/inspection tools for the Magento 2 Front-End

License: Open Software License 3.0

PHP 8.87% JavaScript 7.27% HTML 0.57% CSS 12.49% TypeScript 70.81%

m2-devtools's Introduction

Magento 2 DevTools

CircleCI

An extension for Google Chrome (and likely Mozilla Firefox) that exposes helpful debugging utilities for Magento 2 front-ends.

Early Release

This is a very new project with little to no documentation, published to solicit feedback from early adopters. The extension is currently only available through manual installation of the development build, and will be published to the Chrome Web Store at a future time.

Documentation

Usage

Whenever you navigate to a page running Magento 2, a new tab should appear in DevTools from this extension.

In-Progress Features

  • RequireJS Optimizer configuration generator (including Magento module for quick install)
  • RequireJS module registry inspector

Possible Future Features

  • uiComponents Explorer/Inspector (think React/Angular DevTools)
  • m2 Front-End best-practices checks

Running Development Build (Google Chrome)

Prerequisites

  • node.js >= 8.x
  • npm >= 6.x

Setup

  1. Clone the repository
  2. Run npm install
  3. Run npm start
  4. Navigate to chrome://extensions
  5. Enable Developer mode
  6. Click Load unpacked
  7. Select the extension folder in the root of this repository

Notes

  • To run a single build, use npm run build instead of npm start
  • If you have Chrome DevTools open when you make a change in src, you'll need to close and re-open DevTools to see the changes
  • If you need to debug the DevTools page (React app in src), open the Magento 2 tab in DevTools, then right click + Inspect Element. This will open a new instance of the DevTools pointed at the React application.

m2-devtools's People

Contributors

drewml avatar jedmao avatar vinai avatar aligent-lturner avatar

Watchers

James Cloos avatar Andrea D'Urso avatar

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.