From 1442eaa0f1d3ad0bc0781e7fe7afd9dc974d791e Mon Sep 17 00:00:00 2001 From: Rio Chandra Date: Fri, 19 Feb 2021 15:20:02 +0700 Subject: [PATCH 1/5] Update nested directory components https://github.com/nuxt/components#nested-components --- .../guides/directory-structure/components.md | 30 ++++++++----------- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/content/en/guides/directory-structure/components.md b/content/en/guides/directory-structure/components.md index 19f44d4330..d9cc58674a 100644 --- a/content/en/guides/directory-structure/components.md +++ b/content/en/guides/directory-structure/components.md @@ -153,46 +153,40 @@ If you have components in nested directories such as: ```bash components/ base/ - Button.vue + foo/ + Button.vue ``` -The component name will be based on its own filename. Therefore, the component will be: +The component name will be based on its own path directory and filename. Therefore, the component will be: ```html -