Create the Initial Module
Free Preview
What is RequireJS
Create a Custom RequireJS Config File
Free Preview
Create a Custom AMD JavaScript Component
Write JavaScript in PHTML templates using RequireJS
Access Other JavaScript Components with RequireJS
Create RequireJS Aliases with map and paths
Free Preview
Add a Host to the Content Security Policy XML
Initialize a JavaScript Component with Imperative Notation
Declaratively Initialize JavaScript Component x-magento-init
Declaratively Initialize JavaScript Component data-mage-init
Pass data from PHP to JavaScript components
Define Path Fallbacks for Loading JavaScript Files
Define JavaScript Dependencies with RequireJS
Override JavaScript Files or Components with map
Override JavaScript Component Methods with Mixins