0.1.5 • Published 3 years ago

zh-commons v0.1.5

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

zh-commons

个人公共vue组件库

组件库中所有包含的组件都在 src/components 在第4节中也有说明

1. Install

npm install zh-commons

or

yarn add zh-commons

2. Quick Start

1.引入 zh-commons 组件

import { ZhLoading, Typing, CountUp, Icon, CountDown } from 'zh-commons';

2.在vue组件中使用

<template>
  <div>
    <ZhLoading />
  </div>
</template>

3. Example

<ZhLoading :size="80" :cicleNum="4" :borderWidth="3" :colors="['#fb2', '#8c4', '#0a9', '#17b']" />
<Typing>asf顺丰到付sfs</Typing>
<CountUp class="countup"
          :endVal="89757"
          @ready="ready"
          :options="{
            decimalPlaces: 3,
          }" />

<button @click="pause">暂停</button>
<button @click="reset">重置</button>
<button @click="update">更新</button> 
<Icon iconClass="gengduo"/>
<CountDown :endTime="Date.now()+20000" format="mm:ss:S" />
<CountDown :endTime="Date.now()+300000000" format="dd天hh:mm:ss" />

4. Components

  • ZhLoading
  • Typing
  • CountUp
  • Icon
  • CountDown

5. 具体参数参考 src/components 下对应组件 README 文档

前往 git 仓库

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago