vue-debug-queryparam
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

vue-debug-queryparam

A vue plugin for displaying debugging information.

Quick start

In vanilla vue:

import debugQueryparam 'vue-debug-queryparam/plugin'
vueApp.use(debugQueryParam)

In nuxt:

modules: [
    'vue-debug-queryparam/nuxt'
]

The debug composable:

import useDebug from 'vue-debug-queryparam'
const debug = useDebug()
console.log(debug) // Prints true if ?debug=true is set
debug.value = true // Sets ?debug=true in the URL

The debug component:

<DebugData
   :data="{ myvar1, myvar2 }"
   :expand-depth="2"
/>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.7
    36
    • latest

Version History

Package Sidebar

Install

npm i vue-debug-queryparam

Weekly Downloads

36

Version

1.0.7

License

CC0-1.0

Unpacked Size

305 kB

Total Files

32

Last publish

Collaborators

  • cco3