uview-vue2
Provides comprehensive guidance for uView Vue 2 component library including components, tools, and layouts. Use when the user asks about uView for Vue 2, needs to build Vue 2 applications with uView, or use uView components.
Provides comprehensive guidance for uView Vue 2 component library including components, tools, and layouts. Use when the user asks about uView for Vue 2, needs to build Vue 2 applications with uView, or use uView components.
Use this skill whenever the user wants to:
This skill is organized to match the uView UI official documentation structure (https://www.uviewui.com/guide/demo.html, https://www.uviewui.com/components/intro.html). When working with uView UI:
Identify the topic from the user's request:
examples/getting-started/installation.md or examples/getting-started/basic-usage.mdexamples/components/button.mdexamples/components/input.mdexamples/components/form.mdexamples/components/table.mdexamples/components/modal.mdexamples/tools/toast.mdexamples/tools/http.mdexamples/advanced/theme-customization.mdLoad the appropriate example file from the examples/ directory:
Getting Started (快速开始) - examples/getting-started/:
examples/getting-started/installation.md - Installing uView UI and basic setupexamples/getting-started/basic-usage.md - Basic component usageexamples/getting-started/design-principles.md - Design principles and best practicesComponents (组件) - examples/components/:
examples/components/button.md - Button componentexamples/components/input.md - Input componentexamples/components/form.md - Form componentexamples/components/table.md - Table componentexamples/components/modal.md - Modal componentexamples/components/toast.md - Toast componentexamples/components/loading.md - Loading componentexamples/components/picker.md - Picker componentexamples/components/tabs.md - Tabs componentexamples/components/navbar.md - Navbar componentexamples/components/grid.md - Grid componentexamples/components/card.md - Card componentexamples/components/badge.md - Badge componentexamples/components/swiper.md - Swiper componentexamples/components/list.md - List componentTools (工具) - examples/tools/:
examples/tools/toast.md - Toast tool ($u.toast)examples/tools/http.md - Http tool ($u.http)examples/tools/storage.md - Storage tool ($u.storage)examples/tools/route.md - Route tool ($u.route)examples/tools/debounce.md - Debounce toolexamples/tools/throttle.md - Throttle toolAdvanced (高级) - examples/advanced/:
examples/advanced/theme-customization.md - Customizing uView UI themeexamples/advanced/uniapp-integration.md - UniApp integrationFollow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
Reference API documentation in the api/ directory when needed:
api/components.md - Component API referenceapi/tools.md - Tools API reference ($u methods)api/theme-variables.md - Theme variables APIUse templates from the templates/ directory:
templates/project-setup.md - Project setup templatestemplates/component-template.md - Component usage templatesGuide (指南):
examples/guide/ or examples/getting-started/ → https://www.uviewui.com/guide/demo.htmlComponents (组件):
examples/components/ → https://www.uviewui.com/components/intro.htmlThis 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 uView UI API documentation structure:
api/components.md)api/tools.md)api/theme-variables.md)To use API reference:
api/ directoryexamples/ directoryuView UI, uView, uni-app, Vue 2, components, Button, Input, Form, Table, Modal, Toast, $u, tools, theme, customization, 组件库, 按钮, 输入框, 表单, 表格, 模态框, 提示, 工具函数, 主题定制
确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。