You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@harlem/plugin-devtools

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harlem/plugin-devtools

The official Vue devtools plugin for Harlem


Version published
Weekly downloads
280
decreased by-12.23%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

1.0.11 (2020-10-11)

Bug Fixes

  • core: fixed event emitter type reference (523c589)
  • core: fixed type fro event handler (cdc1f9c)
  • lock: fixed lock file breaking tests (d601a8a)
  • plugins: update core peer dependency for plugins (bfd8a1a)
  • vercel: added vercel config to rewrite paths for spa (56ad2e9)

Readme

Source

Harlem Devtools Plugin

npm

This is the official Harlem devtools plugin for adding Vue devtools integration to Harlem.

Note: The Vue 3 compatible devtools are currently in beta and subject to change. Please ensure you have the beta version of the Vue devtools installed in your browser and disable the stable Vue devtools to prevent conflict.

Harlem Devtools

Getting started

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

  1. Install @harlem/plugin-devtools:
npm install @harlem/plugin-devtools

Or if you're using Yarn:

yarn add @harlem/plugin-devtools
  1. Create an instance of the plugin and register it with Harlem:
import App from './app.vue';

import harlem from '@harlem/core';
import createDevtoolsPlugin from '@harlem/plugin-devtools';

const devtoolsPlugin = createDevtoolsPlugin({
    label: 'My State'
});

createApp(App)
    .use(harlem, {
        plugins: [devtoolsPlugin]
    })
    .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

Known issues

There is currently an issue where the devtools may not show your stores the first time they are opened. Simply hit the refresh button in the top right of the devtools to force it to show your stores/state.

Keywords

FAQs

Package last updated on 11 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc