Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@harlem/plugin-devtools

Package Overview
Dependencies
2
Maintainers
1
Versions
82
Issues
File Explorer

Advanced tools

@harlem/plugin-devtools

The official Vue devtools plugin for Harlem

    3.1.8latest
    GitHub

Version published
Maintainers
1
Weekly downloads
553
decreased by-22.66%

Weekly downloads

Readme

Source

Harlem Devtools Plugin

The devtools plugin integrates Harlem into the Vue developer tools allowing you to see and edit your stores in real-time.

Installation

To get started make sure you have the Vue developer tools installed in your browser. The Vue devtools can be installed here:

  • Chrome
  • Edge
  • Firefox

Before installing the devtools plugin make sure you have installed @harlem/core.

yarn add @harlem/plugin-devtools # or npm install @harlem/plugin-devtools

The devtools extension is already included with Harlem when using the harlem package.

Usage

Create an instance of the plugin and register it with Harlem:

import App from './app.vue'; import devtoolsPlugin from '@harlem/plugin-devtools'; import { createVuePlugin } from 'harlem'; createApp(App) .use(createVuePlugin({ plugins: [ devtoolsPlugin({ label: 'My State' }) ] })) .mount('#app');
  1. Open your Vue devtools to see your stores.

Options

  • label: string? - the name that will appear in the Vue devtools pane. The default is 'Harlem'.
  • color: number? - a Hexadecimal number indicating the color to be used on the timeline for Harlem events. The default is 0x40c48d.

(?) indicates an optional field

Keywords

FAQs

Last updated on 20 Mar 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc