2.0.7 • Published 5 years ago

vue-cli-plugin-console-killer v2.0.7

Weekly downloads
195
License
MIT
Repository
-
Last release
5 years ago

vue-cli-plugin-console-killer

important

Error have been Fixed,so you can use it safety and confortable. if there is demand you need, or you meet some error when using this package Lets go to (https://github.com/tp953704/vue-cli-plugin-console-killer/issues), and Thank you

Get Start

First -- you must have a vue-cli package

if you just want to build a JS Module you can fly to babel-plugin-console-killer

  1. install the new vue-cli package
npm install -g @vue/cli
# OR
yarn global add @vue/cli
  1. create a new vue-cli project
vue create hello-world

Then -- After develop..., maybe there is a lot of extra coding like =>'console.log'.

You can install vue-cli-plugin-console-killer to kill them all.

  1. install
npm i vue-cli-plugin-console-killer -D
  1. invoke and lets killer console
vue invoke vue-cli-plugin-console-killer

//and you can run 
npm run console-kill

final --All of the console (ex: console.log(), console.dir()...) will killed

npmlink