Skip to content

zhennann/vue-plugin-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published