vue-component-dev

Community

Build robust Vue 3 components with Pinia & ECharts.

Authoralongor666
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides standardized guidelines for developing Vue 3 components for the vehicle insurance data analysis platform. It covers component structure, communication, Pinia state management, ECharts integration, and performance optimization, ensuring consistent, maintainable, and high-quality frontend development.

Core Features & Use Cases

  • Standard Component Template: Offers a ready-to-use template for new Vue components, including <script setup>, Props, Emits, and lifecycle hooks.
  • Component Communication: Guides on using Props for parent-to-child data, Emits for child-to-parent events, and Pinia for cross-component state sharing.
  • Pinia Store Usage: Defines three core Pinia stores (appStore, filterStore, dataStore) with clear responsibilities and usage规范.
  • ECharts Integration: Provides a standard ECharts component template, emphasizing responsive handling, data updates, and adherence to eye-care color palettes.
  • Performance Optimization: Offers tips on choosing between computed vs watch, v-show vs v-if, and avoiding complex template expressions.
  • Use Case: A developer needs to create a new dashboard widget that displays data from the dataStore and allows user interaction. This skill provides the component template, Pinia integration pattern, and styling guidelines to build it efficiently and correctly.

Quick Start

Create a new Vue 3 component 'SalesOverview.vue' that fetches data from the dataStore and displays it using an ECharts bar chart.

Dependency Matrix

Required Modules

vuepiniaechartsaxiosvite

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vue-component-dev
Download link: https://github.com/alongor666/daylyreport/archive/main.zip#vue-component-dev

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.