/vue-prune

:scissors: Find unused Vue components in your code

Primary LanguageJavaScriptMIT LicenseMIT

✂️ vue-prune

Find unused Vue components in your code

License

Usage

npm install -g vue-prune

Currently you will have to run the script directly from the directory you wish to analyse, for example:

cd ~/dev/my-vue-project/src && vue-prune

If you're running this in a standard Vue project, you'll want to be inside the src directory otherwise it'll try and go into your node_modules and explode.