Skip to content
Ivan edited this page Aug 18, 2022 · 5 revisions

Plugins downloads via npm, listed in file package.json.
Plugins and custom files combines into one file assets\js\starter.js by gulp, all files listed in file assets\js\list_scripts.js.
Scripts enqueues in file inc\assets.php.

Code

  • json: package.json - plugins/libs
  • js:
    • assets\js\modules - folder with custom js modules
    • assets\js\list_scripts.js - plugins and custom code js-list
    • assets\js\scripts.js - autogenerated (from list just above) file
  • php: inc\assets.php - enqueue js files
Clone this wiki locally