Adding views to custom module
About this task
Procedure
- Place new views you create in your custom module in the following directory: resources/META-INF/resources/WEB-INF/Views/<modulename>.
- Place all Entity views in a directory called Entity, all Page views in a directory called Page, and all Region views in a directory called Region.
Here is an example of a file structure for your views:
What to do next
Once you added views to your custom module, you must register them in the SDL Digital Experience Accelerator.