Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Peach X SnippetsNew to Visual Studio Code? Get it now.
Peach X Snippets

Peach X Snippets

zhouxk

|
1 install
| (2) | Free
Code snippets for Peach X – A high-performance Vue.js 3.0 Component Library for modern web development.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Peach X Vue3 Snippets

VSCode snippets for Peach X Vue 3 Component Library. Accelerate your development workflow with smart shortcuts.

✨ Features

  • One-key component generation for Peach X Vue3 components
  • Tab-stop support ($1, $2) for quick attribute editing
  • Works in Vue Single File Components (.vue), TSX, and JSX files

📋 Snippet Shortcuts

Component Shortcut Output Description
p-button pxb <p-button type="primary" size="medium" @click="">$1</p-button> Button component
p-divider pxd <p-divider /> Divider component
p-ticker pxt <p-ticker :from="$1" :to="$2" /> Animated number ticker
p-config-provider pxcp <p-config-provider :size="$1" :theme="$2" $3>$0</p-config-provider> Global size/theme configuration

(Pro Tip: Type the shortcut and press Tab to expand)

🛠 Installation

  • Open VSCode Extensions (Ctrl+Shift+X)
  • Search for "Peach X Vue3 Snippets"
  • Click Install

🚀 Usage Examples

<!-- Type 'pxb' + Tab -->
<p-button>Click Me</p-button>

<!-- Type 'pxt' + Tab -->
<p-ticker :from="0" to="100" />
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft