jaxn / vue-unused-components-checker

Detect unused Vue Components in your projects

Home Page:https://www.npmjs.com/package/vue-unused-components-checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue Unused Components Checker

Check your Vue project for unused Components.

This tool gathers all file names of .vue Components and check whether they are imported and used somewhere.

Installation

This module is installed via npm:

$ npm install vue-unused-components-checker -g

Example Usage

$ check-unused-comp .    #Checks the current file tree
$ check-unused-comp src/js
$ check-unused-comp -o 20 src/js

Limit the count of open files, since this can lead to errors, when directories are too large

$ check-unused-comp -i **/node_modules/** src/js

Ignore specific files using glob patterns. Default: ['**/node_modules/**', '**/.nuxt/**', '**/dist/**', '**/coverage/**']

About

Detect unused Vue Components in your projects

https://www.npmjs.com/package/vue-unused-components-checker

License:MIT License


Languages

Language:JavaScript 100.0%