element-plus-vue3 by teachingai/full-stack-skills
npx skills add https://github.com/teachingai/full-stack-skills --skill element-plus-vue3当用户想要进行以下操作时,请使用此技能:
此技能的组织结构与 Element Plus 官方文档结构相匹配(https://element-plus.org/zh-CN/,https://element-plus.org/en-US/guide/design,https://element-plus.org/en-US/component/overview)。在处理 Element Plus 相关问题时:
* Installation/安装 → `examples/guide/installation.md`
* Quick Start/快速开始 → `examples/guide/quick-start.md`
* Design/设计 → `examples/guide/design.md`
* Components/组件 → `examples/components/`
* API/API 文档 → `api/`
2. 从 examples/ 目录加载相应的示例文件:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
指南 :
* `examples/guide/installation.md` \- 安装指南
* `examples/guide/quick-start.md` \- 快速开始指南
* `examples/guide/design.md` \- 设计指南
* `examples/guide/i18n.md` \- 国际化
* `examples/guide/theme.md` \- 主题定制
* `examples/guide/global-config.md` \- 全局配置
组件 :
* `examples/components/overview.md` \- 组件概览
* `examples/components/button.md` \- Button 组件
* `examples/components/input.md` \- Input 组件
* `examples/components/form.md` \- Form 组件
* `examples/components/table.md` \- Table 组件
* `examples/components/card.md` \- Card 组件
* `examples/components/dialog.md` \- Dialog 组件
* `examples/components/message.md` \- Message 组件
* `examples/components/notification.md` \- Notification 组件
* `examples/components/menu.md` \- Menu 组件
* `examples/components/tabs.md` \- Tabs 组件
* `examples/components/date-picker.md` \- DatePicker 组件
* `examples/components/select.md` \- Select 组件
* `examples/components/switch.md` \- Switch 组件
* `examples/components/checkbox.md` \- Checkbox 组件
* `examples/components/radio.md` \- Radio 组件
* `examples/components/upload.md` \- Upload 组件
* `examples/components/pagination.md` \- Pagination 组件
* `examples/components/tree.md` \- Tree 组件
* `examples/components/tree-select.md` \- TreeSelect 组件
* `examples/components/transfer.md` \- Transfer 组件
* `examples/components/descriptions.md` \- Descriptions 组件
* `examples/components/avatar.md` \- Avatar 组件
* `examples/components/badge.md` \- Badge 组件
* `examples/components/tag.md` \- Tag 组件
* `examples/components/empty.md` \- Empty 组件
* `examples/components/loading.md` \- Loading 组件
* `examples/components/popover.md` \- Popover 组件
* `examples/components/tooltip.md` \- Tooltip 组件
* `examples/components/dropdown.md` \- Dropdown 组件
* `examples/components/drawer.md` \- Drawer 组件
* `examples/components/popconfirm.md` \- Popconfirm 组件
3. 遵循该示例文件中关于语法、结构和最佳实践的特定说明
重要说明 :
* Element Plus 仅适用于 Vue 3
* 组件使用 Vue 3 Composition API
* 示例包含 Options API 和 Composition API
* 每个示例文件都包含关键概念、代码示例和要点
4. 需要时参考 api/ 目录中的 API 文档:
* `api/component-api.md` \- 组件 API 参考
* `api/props-and-events.md` \- Props 和事件参考
* `api/global-config.md` \- 全局配置 API
5. 使用 templates/ 目录中的模板:
* `templates/installation.md` \- 安装模板
* `templates/component-usage.md` \- 组件使用模板
* `templates/project-setup.md` \- 项目设置模板
Element Plus 是一个 Vue 3 组件库,遵循 Element Design 原则,提供丰富的 UI 组件。
关键概念 :
使用 npm :
npm install element-plus
使用 yarn :
yarn add element-plus
使用 pnpm :
pnpm add element-plus
完整导入 :
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
const app = createApp(App)
app.use(ElementPlus)
app.mount('#app')
按需导入 :
import { ElButton, ElInput } from 'element-plus'
import 'element-plus/es/components/button/style/css'
import 'element-plus/es/components/input/style/css'
指南 :
examples/guide/ 或 examples/getting-started/ 中的指南文件 → https://element-plus.org/en-US/guide/design组件 :
examples/components/ 中的组件文件 → https://element-plus.org/en-US/component/overview此技能包含详细的示例,其组织结构与官方文档结构相匹配。所有示例都在 examples/ 目录中(参见上面的映射)。
使用示例:
使用模板:
templates/ 目录中的模板以获取常见脚手架详细的 API 文档可在 api/ 目录中找到,其组织结构与官方 Element Plus API 文档结构相匹配:
api/component-api.md)api/props-and-events.md)api/global-config.md)使用 API 参考:
api/ 目录加载相应的 API 文件examples/ 目录中相关示例文件的链接Element Plus, element-plus, Vue 3, Vue3, UI components, component library, 组件库, 按钮, 表单, 表格, 弹窗, 消息, 通知, 菜单, 标签页, 日期选择器, 选择器, 开关, 复选框, 单选框, 上传, 分页, 树形控件, 穿梭框, 描述列表, 头像, 徽标, 标签, 空状态, 加载, 弹出框, 提示, 下拉菜单, 抽屉, 气泡确认框, Button, Form, Table, Dialog, Message, Notification, Menu, Tabs, DatePicker, Select, Switch, Checkbox, Radio, Upload, Pagination, Tree, Transfer, Descriptions, Avatar, Badge, Tag, Empty, Loading, Popover, Tooltip, Dropdown, Drawer, Popconfirm
每周安装量
841
仓库
GitHub Stars
205
首次出现
2026年1月24日
安全审计
安装于
opencode603
codex579
gemini-cli569
github-copilot551
cursor528
kimi-cli499
Use this skill whenever the user wants to:
This skill is organized to match the Element Plus official documentation structure (https://element-plus.org/zh-CN/, https://element-plus.org/en-US/guide/design, https://element-plus.org/en-US/component/overview). When working with Element Plus:
Identify the topic from the user's request:
examples/guide/installation.mdexamples/guide/quick-start.mdexamples/guide/design.mdexamples/components/api/Load the appropriate example file from the examples/ directory:
Guide (使用指南) :
* `examples/guide/installation.md` \- Installation guide
* `examples/guide/quick-start.md` \- Quick start guide
* `examples/guide/design.md` \- Design guidelines
* `examples/guide/i18n.md` \- Internationalization
* `examples/guide/theme.md` \- Theme customization
* `examples/guide/global-config.md` \- Global configuration
Components (组件) :
* `examples/components/overview.md` \- Components overview
* `examples/components/button.md` \- Button component
* `examples/components/input.md` \- Input component
* `examples/components/form.md` \- Form component
* `examples/components/table.md` \- Table component
* `examples/components/card.md` \- Card component
* `examples/components/dialog.md` \- Dialog component
* `examples/components/message.md` \- Message component
* `examples/components/notification.md` \- Notification component
* `examples/components/menu.md` \- Menu component
* `examples/components/tabs.md` \- Tabs component
* `examples/components/date-picker.md` \- DatePicker component
* `examples/components/select.md` \- Select component
* `examples/components/switch.md` \- Switch component
* `examples/components/checkbox.md` \- Checkbox component
* `examples/components/radio.md` \- Radio component
* `examples/components/upload.md` \- Upload component
* `examples/components/pagination.md` \- Pagination component
* `examples/components/tree.md` \- Tree component
* `examples/components/tree-select.md` \- TreeSelect component
* `examples/components/transfer.md` \- Transfer component
* `examples/components/descriptions.md` \- Descriptions component
* `examples/components/avatar.md` \- Avatar component
* `examples/components/badge.md` \- Badge component
* `examples/components/tag.md` \- Tag component
* `examples/components/empty.md` \- Empty component
* `examples/components/loading.md` \- Loading component
* `examples/components/popover.md` \- Popover component
* `examples/components/tooltip.md` \- Tooltip component
* `examples/components/dropdown.md` \- Dropdown component
* `examples/components/drawer.md` \- Drawer component
* `examples/components/popconfirm.md` \- Popconfirm component
3. Follow the specific instructions in that example file for syntax, structure, and best practices
Important Notes :
* Element Plus is for Vue 3 only
* Components use Vue 3 Composition API
* Examples include both Options API and Composition API
* Each example file includes key concepts, code examples, and key points
4. Reference API documentation in the api/ directory when needed:
* `api/component-api.md` \- Component API reference
* `api/props-and-events.md` \- Props and events reference
* `api/global-config.md` \- Global configuration API
5. Use templates from the templates/ directory:
* `templates/installation.md` \- Installation templates
* `templates/component-usage.md` \- Component usage templates
* `templates/project-setup.md` \- Project setup templates
Element Plus is a Vue 3 component library that provides a rich set of UI components following Element Design principles.
Key Concepts :
Using npm :
npm install element-plus
Using yarn :
yarn add element-plus
Using pnpm :
pnpm add element-plus
Full Import :
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
const app = createApp(App)
app.use(ElementPlus)
app.mount('#app')
On-Demand Import :
import { ElButton, ElInput } from 'element-plus'
import 'element-plus/es/components/button/style/css'
import 'element-plus/es/components/input/style/css'
Guide (指南) :
examples/guide/ or examples/getting-started/ → https://element-plus.org/en-US/guide/designComponents (组件) :
examples/components/ → https://element-plus.org/en-US/component/overviewThis skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
To use templates:
templates/ directory for common scaffoldingDetailed API documentation is available in the api/ directory, organized to match the official Element Plus API documentation structure:
api/component-api.md)api/props-and-events.md)api/global-config.md)To use API reference:
api/ directoryexamples/ directoryElement Plus, element-plus, Vue 3, Vue3, UI components, component library, 组件库, 按钮, 表单, 表格, 弹窗, 消息, 通知, 菜单, 标签页, 日期选择器, 选择器, 开关, 复选框, 单选框, 上传, 分页, 树形控件, 穿梭框, 描述列表, 头像, 徽标, 标签, 空状态, 加载, 弹出框, 提示, 下拉菜单, 抽屉, 气泡确认框, Button, Form, Table, Dialog, Message, Notification, Menu, Tabs, DatePicker, Select, Switch, Checkbox, Radio, Upload, Pagination, Tree, Transfer, Descriptions, Avatar, Badge, Tag, Empty, Loading, Popover, Tooltip, Dropdown, Drawer, Popconfirm
Weekly Installs
841
Repository
GitHub Stars
205
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode603
codex579
gemini-cli569
github-copilot551
cursor528
kimi-cli499
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
GSAP动画技能:为JARVIS HUD创建流畅专业动画的完整指南
833 周安装
Gemini Interactions API 指南:统一接口、智能体交互与服务器端状态管理
833 周安装
Apollo MCP 服务器:让AI代理通过GraphQL API交互的完整指南
834 周安装
智能体记忆系统构建指南:分块策略、向量存储与检索优化
835 周安装
Scrapling官方网络爬虫框架 - 自适应解析、绕过Cloudflare、Python爬虫库
836 周安装
抽奖赢家选取器 - 随机选择工具,支持CSV、Excel、Google Sheets,公平透明
838 周安装