Licence
MIT
Version
1.0.2
Deps
1
Size
3 kB
Vulns
0
Weekly
0
vue-plugin-debug
Installation
npm install vue-plugin-debug
Usage
import VuePluginDebug from 'vue-plugin-debug';
// install
Vue.use(VuePluginDebug);
You can then use debug anywhere:
// debug in the vue component
const debug = this.$debug.get('layout');
debug('page path: %s', 'hello-world');
// debug in the others
const debug = Vue.prototype.$debug.get('layout');
debug('page path: %s', 'hello-world');
License
MIT