antdvx
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.1 • Public • Published

antdvx

npm download commitizen

ant design + typescript + vue3

基于 ant design vue 的 Vue3 组件库,包含一些通用模板和服务。

安装

npm i -S antdvx

使用

<template>
  <AntdButton size="small" @click="onClick">button</AntdButton>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { AntdButton } from 'antdvx/components/button';

export default defineComponent({
  components: { AntdButton },
  setup(){
    const onClick = () => {
      console.log('button click.');
    };
    
    return {
      onClick
    };
  }
});
</script>

详细文档,待完善...

Package Sidebar

Install

npm i antdvx

Weekly Downloads

133

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

1.78 MB

Total Files

167

Last publish

Collaborators

  • fatesigner