Contains core user controls which can be used to develop Radium applications.
ng add @rdcz/schematics
the command will accomplish all necessary steps and wire-up Radium localization.
If by some reason you don't wish to use ng-add
schematic, you can perform the following steps manually to get you started:
- Add
@rdcz/core-services
to package.json of your Angular project - Add
@rdcz/core-components
to package.json of your Angular project - Add
"allowSyntheticDefaultImports": true
to compiler options in your tsconfig.json - Run
npm install
- Modify
styles
section in your angular.json:"styles": [ "./node_modules/bootstrap/dist/css/bootstrap.min.css", "./node_modules/@fortawesome/fontawesome-free/css/all.css", "./node_modules/@grapecity/wijmo.styles/wijmo.css", "./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css", "./node_modules/leaflet/dist/leaflet.css", "./node_modules/leaflet.markercluster/dist/MarkerCluster.css", "./node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css", "./node_modules/leaflet-draw/dist/leaflet.draw.css" ]
- Use components from library in your project
⚠️ WARNING⚠️ Localization is not supported by described steps. We recommend to use
ng-add
schematic (see above) which will wire it up.
Components library is documented via Storybook.
You need to have at least Angular v15 for this library to work correctly.
Run nx test core-components
to execute the unit tests.