1.0.2 • Published 5 months ago

vue-plugin-debug v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago