Skip to main content

Installing Juicer on a Magento website or other RequireJS system

Using Juicer with RequireJS (AMD)

Updated over 2 months ago

Overview

Integrate Juicer with RequireJS or other AMD (Asynchronous Module Definition) systems, commonly found in platforms like Magento.
​

Implementation Guide

  1. Check our requirejs-example page on GitHub for detailed setup

  2. Follow platform-specific requirements:

    • Magento users: See built-in RequireJS configuration

    • Other AMD systems: Adapt the example to your setup

Code Example

// Basic RequireJS configuration for Juicer 
require.config({
paths: {
'juicer': 'path/to/juicer'
}
});
Did this answer your question?