npm install --save @egovernments/digit-ui-module-pgr
This Package is more specific to DIGIT-UI's can be used across mission's
After adding the dependency make sure you have this dependency in
frontend/micro-ui/web/package.json
"@egovernments/digit-ui-module-pgr":"1.7.6",
then navigate to App.js
frontend/micro-ui/web/src/App.js
/** add this import **/
import { initPGRComponents } from "@egovernments/digit-ui-module-pgr";
/** inside enabledModules add this new module key **/
const enabledModules = ["PGR"];
/** inside init Function call this function **/
const initDigitUI = () => {
initPGRComponents();
};
1.8.0 base urban version released
1.7.8 added some null checks to improve stability
1.7.7 used new color constants
1.7.6 fixed routing issue
1.7.5 base urban version
[jagankumar-egov] [Tulika-eGov]
Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui)
DIGIT Frontend Repo (https://github.com/egovernments/Digit-Frontend/tree/master)