小ネタ。BuefyをTailwind化するときに調べたときの備忘録(*´ω`*)
特定のタグが出現するファイル数
$ grep -o -R "<b-[^ >]* " {components,pages,mixins} | cut -f 2 -d ":" | sort | uniq -c | sort -r
55 <b-button
14 <b-field
10 <b-dropdown-item
...
ファイルごとの特定のタグの出現数
$ grep -o -R "<b-[^ >]* " {components,pages,mixins} | cut -f 1 -d ":" | sort | uniq -c | sort -r
19 pages/tools/testRun.vue
16 components/apis/option/ApiOptionPanel.vue
14 components/help/HelpAddApi.vue
10 components/apis/info/EditApiFolderDialog.vue
...