0.1.11 • Published 3 months ago

source-inspector v0.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

source-inspector

  • Inspect html elements' source code in IDE

demo

npm install source-inspector --save-dev

Note!!

You may need to install the launch command line of your IDE

Webpack(version 4 or 5)

const SourceInspectorWebpackPlugin = require('source-inspector/webpack')

module.exports = {
  entry: 'index.js',
  output: {
    path: __dirname + '/dist',
    filename: 'index_bundle.js'
  },
  plugins: [
    new SourceInspectorWebpackPlugin({
        hotKey: "Alt" // trigger inspector
    })
  ]
}

Vite

import SourceInspectorPlugin from "source-inspector/vite";

export default defineConfig({
  plugins: [SourceInspectorPlugin()]
});

Support react and vue

0.1.11

3 months ago

0.2.1

4 months ago

0.2.0

4 months ago

0.1.10

4 months ago

0.1.8

4 months ago

0.1.7

4 months ago

0.1.9

4 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.2

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago