A lightweight CSS library for for adding transitions to Vue components ⭐
Demo | Contribution | Changelog
Installation via NPM:
npm install vue-transitions-css
In the main.js
file:
...
import 'vue-transitions-css';
...
This imports the minified css distribution file globally, available for use anywhere in the project.
In any .vue
file:
<transition name="fade">
<Content v-if="show" />
</transition>
Thanks goes to these wonderful people (emoji key):
jonathan 💻 🚧 |
This project follows the all-contributors specification. Contributions of any kind welcome!