FeatureModule
A FeatureModule
allows you to split up your AngularApp
in logical modular parts. It can contain one or more elements and will function as a namespace for the elements within that FeatureModule
.
FeatureModules
are located in the featureModules directory.
Naming
The name of your FeatureModule
needs to be kebab-case. It cannot be the same as your AngularApp
name.
project
├── conf
├── applications
├── angular
. ├── model
├── 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>
Once you've created a FeatureModule
, you can start adding elements.