a tiny vue component to display a value for debugging
i've been copy-pasting this component to all my projects, might as well make it a package 🤷
it simply displays the value passed as a formatted json.
import Debug from 'avris-debug';
<Debug :v="value" />
if you're using nuxt, add the following to nuxt.config.ts
for the component to be available globally without having to import it:
components: [
'~/components',
'avris-debug',
],
- andrea vos
- avris.it
- license: OQL
- source code
- npm package