Configuration
The Module Manifest
Each module in EJS must include a configuration file in its root directory. This configuration file is called the module manifest and provides metadata about the module.
Each manifest must include: - name: The name of the module as it should be displayed to users. - version: The version number of the module. - supportedLocales: An array of locale codes indicating which locales are supported by this module. - routes: A collection of routes this module implements. Expects a RouteCollection object.
Sample
manifest.js
Module Structure
EJS ships with this default directory structure for modules.
[Module Root]
manifest.js
Asset/
css/
images/
languages/
Component/
Controller/
Model/
Test/
Behavior/
Unit/
Last updated