1 | # core
|
2 |
|
3 | Core Teradata UI Platform for layouts, icons, custom components and themes. This should be added as a dependency for any project that wants to use layouts, icons and themes for Angular Material.
|
4 |
|
5 | The core will have custom components that enforce standards and best practices through built-in design patterns.
|
6 |
|
7 | ## Installation
|
8 |
|
9 | This component can be installed as npm package.
|
10 |
|
11 | ```bash
|
12 | npm i -save @covalent/core
|
13 | ```
|
14 |
|
15 | ## Setup
|
16 |
|
17 | Import the modules from `@covalent/core` as needed in your NgModule:
|
18 |
|
19 | ```typescript
|
20 | import { CovalentLayoutModule } from '@covalent/core/layout';
|
21 | import { CovalentStepsModule } from '@covalent/core/steps';
|
22 | /* and many more */
|
23 | @NgModule({
|
24 | imports: [
|
25 | CovalentLayoutModule,
|
26 | CovalentStepsModule,
|
27 | ...
|
28 | ],
|
29 | ...
|
30 | })
|
31 | export class MyModule {}
|
32 | ```
|
33 |
|
34 | ## Styles, Icons and Theming
|
35 |
|
36 | See [theming](https://teradata.github.io/covalent/#/docs/theme) in the covalent docs for more info
|
37 |
|
38 | Core Teradata UI Platform comes with a base CSS file `@covalent/core/common/platform.css` (includes icons).
|
39 |
|
40 | ## Running unit tests
|
41 |
|
42 | Run `nx test angular` to execute the unit tests.
|