Introduction to JavaScript Module Loaders

JavaScript modules encapsulate code into useful units that export their functions. Structuring an application this way makes it easier to work with in these ways:

  • Other modules can explicitly require this piece of code.
  • Structuring an application this way makes it easier to see the broader scope.
  • Modular applications keep related functionality close together.
  • Modularized code makes it easier to find what you’re looking for.

This section contains tutorials relating to the different JavaScript Module Loaders included present on the Liferay platform.

« Using the Default CKEditor Plugins Bundled with AlloyEditorConfiguring Modules for Liferay DXP's Loaders »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0