Socket
Socket
Sign inDemoInstall

@logux/vue-devtools

Package Overview
Dependencies
32
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @logux/vue-devtools

Vue devtools plugin for debugging Logux applications


Version published
Maintainers
2
Install size
61.4 kB
Created

Changelog

Source

0.2.0

  • Added event titles and subtitles.
  • More details in the event data.
  • Grouping subscriptions.

Readme

Source

Logux Vue Devtools

Logux is a new way to connect client and server. Instead of sending HTTP requests (e.g., AJAX and GraphQL) it synchronizes log of operations between client, server, and other clients.

  • Guide, recipes, and API
  • Chat for any questions
  • Issues and roadmap
  • Projects inside Logux ecosystem

This repository contains plugin for Vue devtools browser extension for debugging Logux application based on Vue.

Logux Vue Devtools screenshot in Chrome

Install

npm install --save-dev @logux/vue-devtools

Usage

import { createApp } from 'vue'
import { devtools } from '@logux/vue-devtools'

import { client } from './logux'

let app = createApp(…)

app.use(devtools, client, {
  layers: {
    state: false
  },
  ignoreActions: ['user/add']
})

Extend

Add custom event to the timeline

import { createApp } from 'vue'
import { devtools, actionLayerId } from '@logux/vue-devtools'

import { client } from './logux'

let app = createApp(…)

app.use(devtools, client)

if (devtools.api) {
  devtools.api.addTimelineEvent({
    layerId: actionLayerId,
    event: {
      time: Date.now(),
      data: { … }
    }
  })
}

Keywords

FAQs

Last updated on 30 May 2021

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