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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2020-02-07 05:14:59 +0300
committerEvan Read <eread@gitlab.com>2020-02-07 05:14:59 +0300
commit8606ae5b5904930272dc503d6fc13d9d1a5417e8 (patch)
treec0a708ede0c5b7d376a7cae4e2375ed385f3267e /README.md
parent590d7eb66699d45d0bc791884663fefe399f6852 (diff)
parent654d129d594807e8ffd3cde05bd75b83e201f422 (diff)
Merge branch 'fe-directory-restructure' into 'master'
Frontend directory restructure See merge request gitlab-org/gitlab-docs!702
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4f88146d..a2f4ab32 100644
--- a/README.md
+++ b/README.md
@@ -361,11 +361,11 @@ JavaScript. All modern JavaScript should be added to the [content/frontend/](/co
When adding a new bundle, the layout name (html) and bundle name (js) should
match to make it easier to find:
-1. Add the new bundle to `content/frontend/bundles/<bundle-name>.js`
+1. Add the new bundle to `content/frontend/<bundle-name>/<bundle-name>.js`
1. Import the bundle in the html file `layouts/<bundle-name>.html`:
```html
- <script src="<%= @items['/frontend/bundles/<bundle-name>.*'].path %>"></script>
+ <script src="<%= @items['/frontend/<bundle-name>/<bundle-name>.*'].path %>"></script>
```
You should replace `<bundle-name>` with whatever you'd like to call your