npm.io
0.0.6 • Published 5 years ago

veil-transitions

Licence
MIT
Version
0.0.6
Deps
0
Size
45 kB
Vulns
0
Weekly
0

Transition

从vuetify复制的transition部分

Usage

import { VeilSlideYTransition, VeilScaleTransition } from "veil-transitions"
import "veil-transitions/src/components/index.css"

export default {
  components: { VeilSlideYTransition, VeilScaleTransition }
}

<VeilScaleTransition group>
    <template v-for="(item,index) of data" :key="index">
      <div class="tw-flex tw-flex-col tw-text-left tw-m-2 tw-font-light tw-p-4 tw-shadow-lg">
        <q>{{ item.text }}</q>
        <blockquote class="tw-self-end tw-text-sm tw-font-normal">
          {{ item.author }}
        </blockquote>
      </div>
    </template>
</VeilScaleTransition>

Keywords