Full-stack-skills uview-pro-vue3
Builds Vue 3 mobile UIs in uni-app using the uView Pro component library (100+ components). Covers Button, Form, List, Modal, Tabs, NavBar, plus built-in HTTP, storage, router, and validator utilities. Use when the user needs to create uni-app interfaces with uView Pro, configure themes, or use uView Pro utility tools.
install
source · Clone the upstream repo
git clone https://github.com/partme-ai/full-stack-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/partme-ai/full-stack-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/uview-skills/uview-pro-vue3" ~/.claude/skills/partme-ai-full-stack-skills-uview-pro-vue3 && rm -rf "$T"
manifest:
skills/uview-skills/uview-pro-vue3/SKILL.mdsource content
When to use this skill
Use this skill whenever the user wants to:
- Build Vue 3 / uni-app mobile interfaces with uView Pro components
- Use form, data display, feedback, or navigation components
- Configure uView Pro theme, internationalization, or global settings
- Use built-in tools (HTTP requests, storage, routing, validation, formatting)
- Set up uView Pro in a new uni-app project
How to use this skill
Workflow
- Install -
and register in main.jsnpm install uview-pro - Choose component - Match the UI need to component from reference below
- Load example file - Each component has a detailed example in
examples/components/ - Use tools - Leverage built-in utilities from
examples/tools/
Quick-Start: Installation and Basic Usage
// main.js import { createSSRApp } from 'vue' import uView from 'uview-pro' import App from './App.vue' export function createApp() { const app = createSSRApp(App) app.use(uView) return { app } }
Example: Form with Validation
<template> <u-form :model="form" :rules="rules" ref="formRef"> <u-form-item label="Username" prop="name"> <u-input v-model="form.name" placeholder="Enter username" /> </u-form-item> <u-form-item label="Email" prop="email"> <u-input v-model="form.email" placeholder="Enter email" /> </u-form-item> <u-button type="primary" @click="submit">Submit</u-button> </u-form> </template> <script setup> import { ref, reactive } from 'vue' const formRef = ref(null) const form = reactive({ name: '', email: '' }) const rules = { name: [{ required: true, message: 'Name is required' }], email: [{ required: true, message: 'Email is required' }, { type: 'email', message: 'Invalid email' }] } const submit = () => { formRef.value.validate(valid => { if (valid) uni.showToast({ title: 'Success!' }) }) } </script>
Component Categories
| Category | Components | Example Files |
|---|---|---|
| Form | Button, Input, Form, Select, Switch, Checkbox, Radio, Upload | |
| Display | List, Card, Avatar, Badge, Tag, Empty | |
| Feedback | Toast, Modal, Loading, Popup, Drawer | |
| Navigation | Tabs, NavBar, Pagination, Dropdown | |
Tools Reference
| Tool | File | Purpose |
|---|---|---|
| HTTP | | Request wrapper with interceptors |
| Storage | | Local storage utilities |
| Router | | Navigation helpers |
| Validator | | Form validation |
API Reference
- Component props, events, methods, and slotsapi/component-api.md
- Utility function signatures and parametersapi/tools-api.md
- Global and theme configurationapi/config-api.md
Best Practices
- On-demand import - Import only used components to reduce bundle size
- Composition API - Prefer
for cleaner Vue 3 code<script setup> - Theme variables - Customize via uView theme config rather than overriding CSS
- Use built-in tools - Leverage HTTP, storage, and router utilities instead of adding extra dependencies
- Test on device - Verify uni-app behavior on actual mobile devices, not just H5
Resources
- Official Docs: https://uviewpro.cn/
Keywords
uView Pro, uview-pro, Vue 3, uni-app, component library, 组件库, Button, Form, List, Modal, Tabs, NavBar, mobile UI, 表单, 列表