UNPKG

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