This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-undef */ | |
/* | |
Instructions: | |
1. Place this script in the root directory of your Vue.js project. | |
2. Run `node count_imports.js` to count the occurrences of each imported file in `.vue` files within the `src` directory. | |
3. Add the optional command-line argument `--show-files` if you also want to see the file references for each import. | |
For example, run `node count_imports.js --show-files`. | |
Output Example: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
logo: true | |
} |
OlderNewer