Socket
Socket
Sign inDemoInstall

@harlem/plugin-devtools

Package Overview
Dependencies
24
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @harlem/plugin-devtools

The official Vue devtools plugin for Harlem


Version published
Maintainers
1
Created

Changelog

Source

2.4.0-beta.11 (2022-12-02)

Features

  • ssr: added serialiser and safety methods (b7abfd5)

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

Installation

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

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

Usage

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

import App from './app.vue';

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

createApp(App)
    .use(harlem, {
        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 02 Dec 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc