0.2.5 • Published 12 months ago

@gupoui/antdv v0.2.5

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

古珀业务组件库

基于 ant-design-vue 3.x 的一个公司内部组件库。

安装

npm install @gupoui/antdv

快速开始

配置按需引入

npm install unplugin-vue-components @vue/runtime-core -D

vite.config.* 中进行配置:

import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import Components from 'unplugin-vue-components/vite';
import { GupoAntdvResolver } from '@gupoui/antdv/lib/resolver';

export default defineConfig({
  plugins: [
    vue(),
    Components(
      /* options */
      {
        resolvers: [GupoAntdvResolver({ importStyle: 'less' })],
      }
    ),
  ],
});

使用

请注意:组件的前缀为 gpa

<template>
  <div class="page-wrapper">
    <GpaTime style="color: antiquewhite" :mode="'relative'" :step="1" :time="Date.now() - 30 * 1000" />
  </div>
</template>
0.1.0

12 months ago

0.2.3

12 months ago

0.0.5

12 months ago

0.2.5

12 months ago

0.2.4

12 months ago

0.0.6

12 months ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago