0.1.7 • Published 5 years ago

vue-essential-transitions v0.1.7

Weekly downloads
14
License
MIT
Repository
github
Last release
5 years ago

vue-essential-transitions

A collection of native Vue transition styles for quick prototyping

vue-essential-transitions example

Transitions

Transition nameDescription
v-fadeTransition opacity
v-growScale into view
v-slideSlide in from right of window
v-slide-leftSlide in from left of window
v-slide-downSlide in from top of window
v-slide-upSlide in from bottom of window
v-slide-fadeSlide in from right and transition opacity
v-slide-fade-leftSlide in from left and transition opacity
v-slide-fade-downSlide down and transition opacity
v-slide-fade-upSlide up and transition opacity

Installation

Install the package from npm by running

$ npm install --save vue-essential-transitions

or

$ yarn add vue-essential-transitions

Usage

Simply import the minified CSS file and reference a transition name in the name attrubute of a element, for example, '.

<template>
    <transition name="v-fade">
      [...]
    </transition>
</template>

<script>
import "vue-essential-transitions";

[...]
</script>

Dev

Running example script requires @vue/cli and @vue/cli-service-global to be installed. Install globally by running

$ npm install --save --g @vue/cli @vue/cli-service-global

or

$ yarn add global vue/cli @vue/cli-service-global
0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago