Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-05 09:08:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-05 09:08:01 +0300
commit5fd38b5f78df56538ff4362f7be734c65891f2d8 (patch)
tree57974de47fc9bd791c37040c909e64b782c303d4 /doc/development/fe_guide
parent997a0743bd2ffb2df094afeba1632b4f05f51cd9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/fe_guide')
-rw-r--r--doc/development/fe_guide/storybook.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/development/fe_guide/storybook.md b/doc/development/fe_guide/storybook.md
index 1bdd1f83740..986eafb11da 100644
--- a/doc/development/fe_guide/storybook.md
+++ b/doc/development/fe_guide/storybook.md
@@ -38,13 +38,14 @@ To add a story:
```txt
vue_shared/
├─ components/
- │ ├─ todo_button.vue
- │ ├─ todo_button.stories.js
+ │ ├─ sidebar
+ │ │ ├─ todo_button.vue
+ │ │ ├─ todo_button.stories.js
```
1. Write the story as per the [official Storybook instructions](https://storybook.js.org/docs/vue/writing-stories/introduction/)
Notes:
- Specify the `title` field of the story as the component's file path from the `javascripts/` directory,
- e.g. if the component is located at `app/assets/javascripts/vue_shared/components/todo_button.vue`, specify the `title` as
+ e.g. if the component is located at `app/assets/javascripts/vue_shared/components/sidebar/todo_button.vue`, specify the `title` as
`vue_shared/components/To-do Button`. This will ensure the Storybook navigation maps closely to our internal directory structure.