@covalent/core

中文文档
11.23.0发布于 2026/10/02MITTypeScriptESM + CJS近 30 天下载 2.2万

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 节
  1. Installation
  2. Setup
  3. Styles, Icons and Theming
  4. Running unit tests

core

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.

The core will have custom components that enforce standards and best practices through built-in design patterns.

Installation

This component can be installed as npm package.

npm i -save @covalent/core

Setup

Import the modules from @covalent/core as needed in your NgModule:

import { CovalentLayoutModule } from '@covalent/core/layout';
import { CovalentStepsModule  } from '@covalent/core/steps';
/* and many more */
@NgModule({
  imports: [
    CovalentLayoutModule,
    CovalentStepsModule,
    ...
  ],
  ...
})
export class MyModule {}

Styles, Icons and Theming

See theming in the covalent docs for more info

Core Teradata UI Platform comes with a base CSS file @covalent/core/common/platform.css (includes icons).

Running unit tests

Run nx test angular to execute the unit tests.

版本与发布记录

@covalent/core 共发布 438 个版本,首次发布于 2016/07/13;过去 12 个月发布了 74 个版本。

版本发布日期距今
11.23.0latest2026/10/021 个月前
11.22.12026/09/102 个月前
11.22.02026/09/102 个月前
11.21.02026/09/092 个月前
10.5.82026/07/293 个月前
11.20.12026/07/293 个月前

其他发布通道:next → 11.5.2-beta.1。

关于 @covalent/core 的常见问题

@covalent/core 是什么?

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.

如何安装 @covalent/core?

在项目目录运行 npm install @covalent/core,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@angular/cdk(20.x.x)、@angular/core(20.x.x)、@angular/forms(20.x.x)、@covalent/core(11.23.0)、@angular/common(20.x.x)、@angular/router(20.x.x)、@angular/material(20.x.x)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@covalent/core 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@covalent/core 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@covalent/core 可以商用吗?

@covalent/core 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@covalent/core 的下载量有多少?

根据 npm 官方下载统计,@covalent/core 在 2026/10/11 – 2026/11/09 这 30 天内被下载 22,170 次,日均约 739 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@covalent/core 还在维护吗?

最新版本 11.23.0 发布于 2026/10/02(1 个月前);至今共发布 438 个版本,其中过去 12 个月发布了 74 个;首次发布于 2016/07/13。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。