Skip to content

nialltiernan/Magento2-ExtendJavaScriptComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento2-ExtendJavaScriptComponent

Simple module showing how to extend a JavaScript Component

Install

Place this in app/code/Niall and run bin/magento setup:upgrade

Info

This can also be placed in app/design/frontend/TheTheme/base/Magento_SomeModule, in which case requirejs-config.js needs to reference Magento_SomeModule.

Example:

var config = {
    'config':{
        'mixins': {
            'Magento_Customer/js/view/customer': {
                'Niall_ExtendJavaScriptComponent/js/view/customer-extend':true
            }
        }
    }
};

References

About

Simple module showing how to extend a JavaScript Component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published