@coreui/vue

中文文档
5.10.1发布于 2026/10/05MITTypeScriptESM + CJS近 30 天下载 11.9万

UI Components Library for Vue.js

原始使用文档
文档目录24 节
  1. CoreUI for Vue.js
  2. Table of contents
  3. Quick start
  4. Instalation
  5. Stylesheets
  6. Components
  7. Status
  8. Bugs and feature requests
  9. Documentation
  10. Running documentation locally
  11. Frameworks
  12. Templates
  13. Data Grid
  14. Contributing
  15. Community
  16. Versioning
  17. Creators
  18. Support CoreUI Development
  19. Platinum Sponsors
  20. Gold Sponsors
  21. Silver Sponsors
  22. Bronze Sponsors
  23. Backers
  24. Copyright and license

CoreUI logo

CoreUI for Vue.js

Vue.js Components Library built on top of Bootstrap 5 and TypeScript.
Explore CoreUI for Vue.js docs »

Report bug · Request feature · Blog

Table of contents

Quick start

Instalation

Several quick start options are available:

  • Download the latest release
  • Clone the repo: git clone https://github.com/coreui/coreui-vue.git
  • Install with npm: npm install @coreui/vue
  • Install with yarn: yarn add @coreui/vue

Read the Getting started page for information on the framework contents, templates and examples, and more.

Stylesheets

Vue components are styled using @coreui/coreui CSS library, but you can use them also with bootstrap CSS library. That is possible because @coreui/coreui library is compatible with bootstrap, it just extends its functionalities. The only exception are custom CoreUI components, which don't exist in the Bootstrap ecosystem.

CoreUI CSS files

Installation
yarn add @coreui/coreui

or

npm install @coreui/coreui --save
Basic usage
import '@coreui/coreui/dist/css/coreui.min.css'

Bootstrap CSS files

Installation
yarn add bootstrap

or

npm install bootstrap
Basic usage
import "bootstrap/dist/css/bootstrap.min.css";

Components

Status

Build Status npm version peerDependencies Status devDependency Status Coverage Status

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Documentation

The documentation for the CoreUI & CoreUI PRO is hosted at our website CoreUI for Vue

Running documentation locally

  1. Run yarn install or npm install to install the Node.js dependencies.
  2. Run yarn bootstrap or npm run bootstrap to link local packages together and install remaining package dependencies.
  3. From the root directory, run yarn docs:dev or npm run docs:dev (or a specific npm script) to rebuild distributed CSS and JavaScript files, as well as our docs assets.
  4. Open http://localhost:8000/ in your browser, and voilà.

Frameworks

CoreUI supports most popular frameworks.

Templates

Fully featured, out-of-the-box, templates for your application based on CoreUI.

Data Grid

CoreUI Vue Data Grid handles 100,000+ rows with sorting, filtering, virtualization, column pinning, inline editing and CSV export — using the same markup and stylesheet you already use.

npm install @coreui/vue-data-grid

One license also covers JavaScript, React and Angular. It's a separate add-on, not part of CoreUI PRO.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at https://editorconfig.org/.

Community

Stay up to date on the development of CoreUI and reach out to the community with these helpful resources.

You can also follow @core_ui on Twitter.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, CoreUI is maintained under the Semantic Versioning guidelines.

See the Releases section of our project for changelogs for each release version.

Creators

Łukasz Holeczek

Andrzej Kopański

The CoreUI Team

Support CoreUI Development

CoreUI is an MIT-licensed open source project and is completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. You can support development by buying the CoreUI PRO or by becoming a sponsor via Open Collective.

Platinum Sponsors

Support this project by becoming a Platinum Sponsor. A large company logo will be added here with a link to your website.

Gold Sponsors

Support this project by becoming a Gold Sponsor. A big company logo will be added here with a link to your website.

Silver Sponsors

Support this project by becoming a Silver Sponsor. A medium company logo will be added here with a link to your website.

Bronze Sponsors

Support this project by becoming a Bronze Sponsor. The company avatar will show up here with a link to your OpenCollective Profile.

Backers

Thanks to all the backers and sponsors! Support this project by becoming a backer.

Copyright 2022 creativeLabs Łukasz Holeczek. Code released under the MIT License. Docs released under Creative Commons.

版本与发布记录

@coreui/vue 共发布 109 个版本,首次发布于 2017/09/28;过去 12 个月发布了 4 个版本。

版本发布日期距今
5.10.1latest2026/10/051 个月前
5.10.02026/07/213 个月前
5.9.02026/06/144 个月前
5.8.02026/03/287 个月前
5.7.02025/09/171.1 年前
5.6.02025/09/021.2 年前

其他发布通道:latest-3 → 3.2.12,next → 5.0.0-rc.3。

关于 @coreui/vue 的常见问题

@coreui/vue 是什么?

UI Components Library for Vue.js

如何安装 @coreui/vue?

在项目目录运行 npm install @coreui/vue,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:vue(^3.5.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@coreui/vue 支持 TypeScript 吗?

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

@coreui/vue 支持 ESM 还是 CommonJS?

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

@coreui/vue 可以商用吗?

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

@coreui/vue 的下载量有多少?

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

@coreui/vue 还在维护吗?

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