Pro Design Vue Component Library

1.3.41 · active · verified Sun Apr 19

Pro Design Vue is an enterprise-class UI component library for Vue 3, built on top of Ant Design Vue. It provides a set of high-quality, ready-to-use Vue components primarily targeted at desktop applications. The library is currently at version 1.3.41 and maintains a frequent release cadence, primarily with patch versions, indicating active development and continuous improvements. Key differentiators include its robust foundation leveraging Ant Design Vue's established patterns, ensuring a consistent and performant user experience for complex enterprise interfaces. It fully supports modern browsers and Vue 3, shipping with TypeScript types for enhanced developer experience. Unlike standalone UI libraries, it extends the Ant Design Vue ecosystem with additional 'pro' components, focusing on common enterprise application scenarios.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to set up a basic Vue 3 application using Pro Design Vue, globally registering the library and rendering a `ProLayout` with a `ProCard` containing a `ProTable`.

import { createApp, defineComponent } from 'vue';
import ProDesignVue from 'pro-design-vue';
import { ProLayout, ProTable, ProCard } from 'pro-design-vue';
import 'pro-design-vue/dist/pro-design-vue.css';
import 'ant-design-vue/dist/reset.css'; // Important for Ant Design Vue 4

const App = defineComponent({
  components: { ProLayout, ProTable, ProCard },
  setup() {
    const columns = [
      { title: 'Name', dataIndex: 'name', key: 'name' },
      { title: 'Age', dataIndex: 'age', key: 'age' }
    ];
    const data = [
      { key: '1', name: 'John Brown', age: 32 },
      { key: '2', name: 'Jim Green', age: 40 }
    ];
    return { columns, data };
  },
  template: `
    <ProLayout>
      <template #headerContent>
        <h1>My Pro App</h1>
      </template>
      <ProCard title="Data Table">
        <ProTable :columns="columns" :data-source="data"></ProTable>
      </ProCard>
    </ProLayout>
  `
});

const app = createApp(App);
app.use(ProDesignVue);
app.mount('#app');

view raw JSON →