daxe-ui-sdk
v0.0.22
Published
Schematics supported by daxe-ui-sdk
Readme
Schematics supported by daxe-ui-sdk
ng-add : we can use as below
npx @angular/cli@16 add daxe-ui-sdkdaxe-ui-component --- to generate custom component
npx @angular/cli@16 generate daxe-ui-sdk:daxe-ui-component --name <name-of-component>mdo-ui-component --- to generate mock parent component to get pass mock or data(in case of ngx-mdo) to custom component.
npx nx generate daxe-ui-sdk:mdo-ui-component --name <component-name> --module <module-file-name> // daxe-elememt is default --app-type <app-name>`</sub> // default path should be src/app
How we did the setup of daxe-ui-sdk & mdo-ui-container in ngx-mdo (NX workspace project) application
Add daxe-ui-sdk in your project
npm i daxe-ui-sdk`</sub> npx nx generate daxe-ui-sdk:ng-add --includeElementsExtensions true`</sub>run ng generate command to generate parent component which will include the configured custom element.
npx nx generate daxe-ui-sdk:mdo-ui-component --name <component-name> --module <module-file-name> --app-type <app-name>`</sub> // currently supported appNames are daxe-ui || mdoAfter running the above command it will ask/prompt for path we need to pass the path of module file mentioned above.
Example : npx nx generate daxe-ui-sdk:mdo-ui-component --name daxe-ui-container` --module shared.module.ts --app-type mdo
Prompt path would be src/app/_modules/shared Note: For NGX_MDO its mdo, by default/other its daxe-ui.
