1.0.6 • Published 6 years ago
v-logs v1.0.6
Console.log For Vue
import vLog from 'v-log'
Vue.use(vLog)
Temaplate Script
vue 1.0+
ready(){
this.$log('hello'); // default
this.$log('hello',1); // info
this.$log('hello',2); // warn
}
vue 2.0+
mounted(){
this.$log('hello'); // default
this.$log('hello',1); // info
this.$log('hello',2); // warn
}