vue-pino
v0.0.4
Published
Simple VueJs wrapper for Pino logger
Downloads
9
Readme
vue-pino
A small wrapper for adding Pino to Vuejs
How to install:
npm install --save vue-pino
And in your entry file:
import Vue from 'vue'
import VuePino from 'vue-pino'
Vue.use(VuePino)
Usage:
This wrapper bind pino
to Vue
or this
if you're using single file component.
You can use pino
like this:
Vue.pino.info("Pino is working")
this.pino.info("Pino is working")