Skip to content

Commit 69b4509

Browse files
committed
update when component subdirectories are worth considering in SG
1 parent 2375daa commit 69b4509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/style-guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ components/
773773

774774
Since editors typically organize files alphabetically, all the important relationships between components are now evident at a glance.
775775

776-
You might be tempted to solve this problem differently, nesting all the search components under a "search" directory, then all the settings components under a "settings" directory. We only recommend this approach in very large apps of 100+ components, for these reasons:
776+
You might be tempted to solve this problem differently, nesting all the search components under a "search" directory, then all the settings components under a "settings" directory. We only recommend considering this approach in very large apps (e.g. 100+ components), for these reasons:
777777

778778
- It generally takes more time to navigate through nested sub-directories, than scrolling through a single `components` directory.
779779
- Name conflicts (e.g. multiple `ButtonDelete.vue` components) make it more difficult to quickly navigate to a specific component in a code editor.

0 commit comments

Comments
 (0)