Add a JavaScript module

This video provides a walk-through for developing a simple JS module that provides the greeting “Hello World”.

Who is this video for?

  • Developers

Steps

  • Create a module
  • Create a requirejs-config.js and a JavaScript module file
  • Create layout update for adding a template that enables the JS module
  • Create template file
  • Add the module and test it

Video content

Useful resources

On this page