Ant Design Vue

repository·main·Indexed 12 days ago

https://github.com/vuecomponent/ant-design-vue

An enterprise-class UI component library for Vue.js based on the Ant Design design system. It supports Vue 2, Vue 3 (including Vue 3.4), Server-side Rendering (SSR), and Electron. Version 4.2.6 features a transition to CSS-in-JS for dynamic theming, a unified Popup API using the 'open' property, and new components such as Segmented, WaterMark, QrCode, FloatButton, and Tour.

Tokens
171.8K
Snippets
477
Records
889
Agent score
92%

What's inside Ant Design Vue

  1. Use the Message component for global feedback

    main

    The Message component provides lightweight, non-interruptive feedback (success, warning, error, info, loading) that appears at the top center of the screen and automatically disappears. It can be used via static methods or through a hook to maintain Vue context.

    import { message } from 'ant-design-vue';
    
    // Basic usage
    message.success('Operation successful');
    message.error('An error occurred');
    message.warning('Warning message');
  2. Environment and Browser Support for ant-design-vue

    main

    Ant Design Vue is designed for enterprise-class desktop applications and supports the following environments:

    • Vue Versions: Supports both Vue 2 and Vue 3.
    • Rendering: Supports Server-side Rendering (SSR).
    • Desktop Frameworks: Supports Electron.
    • Browsers:
      • Modern browsers (Edge, Firefox, Chrome, Safari, Opera).
      • Internet Explorer 9+ (Note: v1.x requires polyfills for IE support).