FeatureModule
A FeatureModule is a modular, independent part of the Angular applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution., containing related logic, pages and
components. A FeatureModule can contain DataConnectors and DataViews.
Naming
The name of your FeatureModule needs to be kebab-case.
FeatureModules are located in the featureModules directory.
project
├── conf
├── applications
├── angular
. ├── angularApps
├── featureModules
. ├── space
. ├── model
. └── space.xml
- space.xml
- space-app.xml
<featureModule name="space">
</featureModule>
<angularApp name="space-app">
<version>1.0.0</version>
<prefix>nsx</prefix>
<featureModules>
<featureModule name="space"/>
</featureModules>
</angularApp>
Creating a FeatureModule is necessary to be able to add elements to the front-end.