diff options
author | Jacques Erasmus <jerasmus@gitlab.com> | 2020-02-07 05:14:59 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2020-02-07 05:14:59 +0300 |
commit | 654d129d594807e8ffd3cde05bd75b83e201f422 (patch) | |
tree | c0a708ede0c5b7d376a7cae4e2375ed385f3267e /README.md | |
parent | 590d7eb66699d45d0bc791884663fefe399f6852 (diff) |
Move specs `spec/javascripts/` -> `specs/frontend/`
Moved specs from `spec/javascripts/` to `specs/frontend/`
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |