Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below you see the structure of an exemplary light module. A light module can contain more folders. 

Code Block
magnolia.resources.dir/
└── <module-name>/
    ├── apps/
    ├── dialogs/
    │   └── myDialog.yaml
    ├── module.yaml
    ├── webresources/
    └── templates/
        ├── components/
        │   ├── myComponent.ftl
        │   └── myComponent.yaml
        └── pages/
            ├── myTemplate.ftl
            └── myTemplate.yaml

Light modules can contain more or less folders compared to this example.

The magnolia.resources.dir folder

Please note that a Magnolia Light module must reside within the so called "magnolia resources directory".

Include Page
_What is magnolia.resources.dir
_What is magnolia.resources.dir