Skip to content
avue logo

Avue

avue

Provides comprehensive guidance for Avue framework including CRUD operations, form components, and data management. Use when the user asks about Avue, needs to build admin interfaces, implement CRUD operations, or work with Avue components.

SKILL.md

Full skill instructions

When to use this skill

Use this skill whenever the user wants to:

  • Build management systems with Avue
  • Use Avue table and form components
  • Implement data-driven views
  • Use Avue global APIs ($DialogForm, $Clipboard, $ImagePreview, etc.)
  • Configure Avue forms and tables
  • Use Avue components (Tree, Upload, Select, etc.)
  • Implement CRUD operations with Avue
  • Customize Avue components
  • Configure internationalization
  • Use Avue plugins and extensions

How to use this skill

This skill is organized to match the Avue official documentation structure (https://avuejs.com/). When working with Avue:

  1. Identify the topic from the user's request:

    • Getting started/快速开始 → examples/​getting-started/​installation.md or examples/​getting-started/​quick-start.md
    • Form/表单 → examples/​forms/​basic-form.md or examples/​forms/​form-config.md
    • Table/表格 → examples/​components/​table.md
    • Tree/树形 → examples/​components/​tree.md
    • Upload/上传 → examples/​components/​upload.md
    • Global API/全局 API → api/​global-api.md
  2. Load the appropriate example file from the examples/ directory:

    Getting Started (快速开始) - examples/​getting-started/:

    • examples/​getting-started/​installation.md - Installing Avue and basic setup
    • examples/​getting-started/​quick-start.md - Quick start tutorial
    • examples/​getting-started/​global-config.md - Global configuration

    Forms (表单) - examples/​forms/:

    • examples/​forms/​basic-form.md - Basic form usage
    • examples/​forms/​form-config.md - Form configuration
    • examples/​forms/​form-validation.md - Form validation
    • examples/​forms/​form-table.md - Form with table selector

    Components (组件) - examples/​components/:

    • examples/​components/​table.md - Table component
    • examples/​components/​tree.md - Tree component
    • examples/​components/​upload.md - Upload component
    • examples/​components/​select.md - Select component
    • examples/​components/​input.md - Input component

    Advanced (高级) - examples/​advanced/:

    • examples/​advanced/​crud.md - CRUD operations
    • examples/​advanced/​internationalization.md - Internationalization
    • examples/​advanced/​plugins.md - Plugins and extensions
  3. Follow the specific instructions in that example file for syntax, structure, and best practices

    Important Notes:

    • All examples follow Avue API
    • Examples use Vue 2.x syntax
    • Each example file includes key concepts, code examples, and key points
    • Always check the example file for best practices and common patterns
    • Avue is based on Vue and Element UI
  4. Reference API documentation in the api/ directory when needed:

    • api/​global-api.md - Global API reference
    • api/​components.md - Component API reference
  5. Use templates from the templates/ directory:

    • templates/​form-template.md - Form template
    • templates/​table-template.md - Table template
    • templates/​crud-template.md - CRUD template

Doc mapping (one-to-one with official documentation)

Examples and Templates

This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).

To use examples:

  • Identify the topic from the user's request
  • Load the appropriate example file from the mapping above
  • Follow the instructions, syntax, and best practices in that file
  • Adapt the code examples to your specific use case

To use templates:

  • Reference templates in templates/ directory for common scaffolding
  • Adapt templates to your specific needs and coding style

API Reference

Detailed API documentation is available in the api/ directory, organized to match the official Avue API documentation structure:

Global API (api/​global-api.md)

  • $DialogForm - Dialog form
  • $Clipboard - Clipboard operations
  • $ImagePreview - Image preview
  • $Print - Print functionality
  • $Export - Export functionality
  • $Log - Logging
  • findObject, findArray, findNode - Utility functions
  • watermark - Watermark
  • downFile - File download
  • randomId - Random ID generation
  • loadScript - Script loading
  • deepClone - Deep clone
  • setPx - Pixel conversion
  • validatenull - Validation
  • vaildData - Data validation

Components API (api/​components.md)

  • Component props and APIs
  • Component events and methods
  • Component configuration

To use API reference:

  1. Identify the API you need help with
  2. Load the corresponding API file from the api/ directory
  3. Find the API signature, parameters, return type, and examples
  4. Reference the linked example files for detailed usage patterns
  5. All API files include links to relevant example files in the examples/ directory

Best Practices

  1. Install Avue: Install @smallwei/​avue package
  2. Import styles: Import Avue CSS styles
  3. Use Vue.use(): Register Avue with Vue.use(Avue)
  4. Data-driven: Use data-driven approach for forms and tables
  5. Configuration: Configure forms and tables via option objects
  6. Global API: Use Avue global APIs for common operations
  7. Internationalization: Configure i18n for multi-language support
  8. Plugins: Use Avue plugins for extended functionality
  9. Component composition: Compose components for complex UIs
  10. Performance: Optimize for performance with large datasets

Resources

Keywords

Avue, Vue, Element UI, data-driven, form, table, CRUD, $DialogForm, $Clipboard, $ImagePreview, $Print, $Export, tree, upload, select, 数据驱动, 表单, 表格, CRUD, 树形, 上传, 选择器

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View