Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 310ab1b

Browse files
authored
Merge pull request #8477 from omaxmo/patch-1
Update js-resources.md
2 parents 9267181 + 868d1f4 commit 310ab1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guides/v2.3/javascript-dev-guide/javascript/js-resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ JS resources are accessed using relative paths.
3737
**Example 1:**
3838

3939
* File actual location: `app/code/Magento/ConfigurableProduct/view/frontend/web/js/configurable.js`
40-
* File published to `pub/static`: `pub/static/frontend/Magento/<theme>/<locale>/Magento_ConfigurableProduct/js/configurable.js`. Here `<theme>` and `<locale>` are the currently applied in your instance [theme](https://glossary.magento.com/theme) and [locale](https://glossary.magento.com/locale).
40+
* File published to `pub/static`: `pub/static/frontend/<Vendor>/<theme>/<locale>/Magento_ConfigurableProduct/js/configurable.js`. Here `<theme>` and `<locale>` are the currently applied in your instance [theme](https://glossary.magento.com/theme) and [locale](https://glossary.magento.com/locale).
4141
* Called in script:
4242

4343
```javascript
@@ -59,7 +59,7 @@ JS resources are accessed using relative paths.
5959
**Example 3:**
6060

6161
* File actual location: `lib/web/jquery.js`
62-
* File published to `pub/static`: `pub/static/<area>/Magento/<theme>/<locale>/jquery.js`
62+
* File published to `pub/static`: `pub/static/<area>/<Vendor>/<theme>/<locale>/jquery.js`
6363
* Called in script:
6464

6565
```javascript

0 commit comments

Comments
 (0)