# -cascade-all 中文文档

规范地址：https://npmcn.com/package/-cascade-all/

版本：2\.0\.0
npm 元数据更新时间：2023-03-30T06:27:51.337Z
中文译文更新时间：2026-10-31T09:48:50.095Z
软件包许可：ISC

本文由上游 README 机器翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/-cascade-all
原文对照：https://npmcn.com/package/-cascade-all/?lang=original
项目主页：https://github.com/element-plus/element-plus#readme
源码仓库：https://github.com/element-plus/element-plus

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：6.7 MB，2262 个文件
- 模块格式：CommonJS
- TypeScript 类型：未声明
- Node.js 要求：\>= 16
- 运行依赖：23 个
- peer 依赖：vue ^3\.2\.0
- 首次发布：2023-03-30T03:23:30.357Z
- 最新版本发布：2023-03-30T06:27:51.070Z
- 已发布版本数：2（近 12 个月 0 个）

## 中文简介

![](https://user-images.githubusercontent.com/10731096/95823103-9ce15780-0d5f-11eb-8010-1bd1b5910d4f.png)

## 安装

```sh
npm install -- -cascade-all
```

也可以使用：`pnpm add -- -cascade-all`、`yarn add -- -cascade-all`、`bun add -- -cascade-all`

## README

![](https://user-images.githubusercontent.com/10731096/95823103-9ce15780-0d5f-11eb-8010-1bd1b5910d4f.png)

 [![](https://img.shields.io/npm/v/element-plus.svg)](https://www.npmjs.org/package/element-plus)[![](https://img.shields.io/npm/dm/element-plus.svg) ](https://npmcharts.com/compare/element-plus?minimal=true)[![](https://codecov.io/gh/element-plus/element-plus/branch/dev/graph/badge.svg?token=BKSBO2GLZI)](https://codecov.io/gh/element-plus/element-plus)  

Element Plus-一个Vue.js 3 UI库

-   💪Vue 3组合API
-   🔥用TypeScript编写

## 开始使用

好了，如果你想让Element Plus变得更好，你应该继续往下读。 对于使用Element Plus开发您的网站的开发人员，您应该继续访问 [开始使用](https://element-plus.org/).

-   中国大陆[加速镜像站点](https://element-plus.gitee.io/)

## 突发变更列表

适用于生产的Element Plus的第一个稳定版本于2022年2月07日发布。Api现在是稳定的，这里还有一个完整的列表，关于如何从 [UI元素](https://element.eleme.io/) 到Element Plus。

你可以在这里找到重大变更列表： [突发变更列表](https://github.com/element-plus/element-plus/discussions/5658).

### 迁移工具：hammer\_and\_扳手：

我们为您制作了一个迁移工具，用于将您的项目从 [UI元素](https://element.eleme.io/) 到Element Plus。

你可以找到 [Gogo代码迁移工具](https://github.com/thx/gogocode/tree/main/packages/gogocode-plugin-element) 在这里。

我们已经测试过了 [Vue元素管理](https://github.com/PanJiaChen/vue-element-admin)． 您可以找到编译后的代码 [在这里](https://github.com/gogocodeio/vue-element-admin).

### 操场

你也可以尝试元素加上了内置的游乐场组件。

#### 试试我们的内置操场吧

[操场](https://element-plus.run/)

#### 尝试使用代码沙箱

[![Edit element-plus](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/element-plus-demo-dxtcr)

**特别感谢慷慨的赞助:**

  

**白金赞助商**

<table><tbody><tr><td align="center"><a href="https://vform666.com/vform3.html?from=element_plus" rel="nofollow noopener noreferrer"><img src="https://user-images.githubusercontent.com/17680888/156870588-b25a42d5-888b-4943-8b1b-5239dfd8f4d2.png" width="150px" loading="lazy" decoding="async" referrerpolicy="no-referrer"></a></td><td align="center"><a href="https://js.design/?source=element-plus" rel="nofollow noopener noreferrer"><img src="https://user-images.githubusercontent.com/17680888/160634485-df0d00af-8633-4ab8-9a72-aac2b65d1d36.png" width="150px" loading="lazy" decoding="async" referrerpolicy="no-referrer"></a></td></tr></tbody></table>

**金牌赞助商**

<table><tbody><tr><td align="center"><a href="https://wonderful-code.gitee.io/?from=element-plus" rel="nofollow noopener noreferrer"><img src="https://user-images.githubusercontent.com/17680888/173179536-30e35fd1-cd5a-482a-bc41-9d5f0aa66fd4.png" width="130px" loading="lazy" decoding="async" referrerpolicy="no-referrer"></a></td><td align="center"><a href="https://bit.dev/?from=element-ui" rel="nofollow noopener noreferrer"><img src="https://user-images.githubusercontent.com/10095631/41342907-e44e7196-6f2f-11e8-92f2-47702dc8f059.png" width="130px" loading="lazy" decoding="async" referrerpolicy="no-referrer"></a></td></tr></tbody></table>

* * *

## 翻译

Element Plus已翻译为多种语言，您可以单击徽章以帮助更新翻译或申请成为 校对者 [![Crowdin](https://badges.crowdin.net/element-plus/localized.svg)](https://crowdin.com/project/element-plus)

由于资源原因，我们目前只展示中英文，但我们期待翻译成更多的语言，请点击链接 如果你想帮忙把Element Plus翻译成你想要的语言，请留言。

### 如何帮助翻译

看看如何帮助翻译 [翻译Element Plus](https://element-plus.org/en-US/guide/translation.html).

## 敬请关注: 眼睛:

加入我们的 [不和](https://discord.com/invite/gXK9XNzW3X) 开始与所有人沟通。

## 这东西坏了，我应该帮忙改进！

Awesommmmmmmmee。你需要的一切都在下面。你也可以参考 [贡献](https://github.com/element-plus/element-plus/blob/dev/CONTRIBUTING.md) 和 [行为准则](https://github.com/element-plus/element-plus/blob/dev/CODE_OF_CONDUCT.md) 你会发现下面列出了相同的信息。

## 我想成为开发团队的一员!

欢迎:star\_struck: !我们正在寻找有才华的开发者加入我们，让Element Plus变得更好！如果您想加入开发团队，请 联系我们，我们非常欢迎您的加入！心:

我们现在缺少……方面的专家 `Testing`， `GitHub Actions`， `PM`,如果您确实觉得自己可以并愿意帮助我们，请与我们联系。: 祈祷:

## 赞助商

通过成为赞助商来支持该项目。您的logo将在此处显示，并附有指向您网站的链接。 [成为赞助商](https://opencollective.com/element-plus#sponsor)

[![](https://opencollective.com/element-plus/sponsor/0/avatar.svg)](https://opencollective.com/element-plus/sponsor/0/website)

## 贡献者

这个项目的存在要感谢所有做出贡献的人。

同时也要感谢所有支持我们的backers！🙏

[![](https://contrib.rocks/image?repo=element-plus/element-plus)](https://github.com/element-plus/element-plus/graphs/contributors)

## 许可证

Element Plus是开源软件，许可为 [麻省理工学院](https://github.com/element-plus/element-plus/blob/master/LICENSE).

## 常见问题

### 如何安装 -cascade-all？

在项目目录运行 npm install -- -cascade-all，或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖：vue（^3\.2\.0）。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖，Yarn 需要手动安装。

### -cascade-all 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/-cascade-all 是否存在。

### -cascade-all 支持 ESM 还是 CommonJS？

以 CommonJS 形式发布，可以直接 require\(\)；在 ES Module 项目中也可以用 import 引入（Node\.js 会把 module\.exports 作为默认导出）。

### -cascade-all 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js \>= 16。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### -cascade-all 可以商用吗？

-cascade-all 使用 ISC 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### -cascade-all 还在维护吗？

最新版本 2\.0\.0 发布于 2023/03/30（3 年前）；至今共发布 2 个版本，其中过去 12 个月发布了 0 个；首次发布于 2023/03/30。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

