You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/guides/v2.3/javascript-dev-guide/javascript/js-resources.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ JS resources are accessed using relative paths.
37
37
**Example 1:**
38
38
39
39
* 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).
41
41
* Called in script:
42
42
43
43
```javascript
@@ -59,7 +59,7 @@ JS resources are accessed using relative paths.
59
59
**Example 3:**
60
60
61
61
*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`
0 commit comments