Install Dependency
Overview
Once the project structure is ready, it is time to install and configure the module dependencies in the Master Data Management Service (MDMS). Follow the steps below to finalise these.
Steps
After creating the Sample
module and its package.json
file, you need to ensure that this module is enabled in the citymodule.json
file in the MDMS (Master Data Management Service) configuration. If it is not enabled, you need to update the MDMS configuration accordingly. You need to add this module to the root tenant in your environment from your branch.
file location
for reference: citymodule.json.
For illustration here, add the following module (sample) as given below:
Register the Sample UI module in three places so that it will be available to the developer at runtime as well as at the time of deployment. Below are the three places where the module needs to be registered:
micro-ui/web/micro-ui-internals/package.json
micro-ui/web/micro-ui-internals/example/package.json
Micro-ui-internals:- Open the
micro-ui-internals
package.json
file and add the following inside the scripts:
In the example/package.json, add the following line:
In the web/package.json, add the following line:
The next step is to initailise the module.js, refer here to know more about the setup
Last updated