vue2-transitions icon indicating copy to clipboard operation
vue2-transitions copied to clipboard

Why does it inject all Transition Styles?

Open irazasyed opened this issue 5 years ago • 2 comments

So I'm using just the FadeTransition for my router view and I see this package injecting all the other transition styles even though I'm just importing one transition component.

irazasyed avatar Oct 06 '18 14:10 irazasyed

Here's the screenshot for reference:

transition

irazasyed avatar Oct 06 '18 14:10 irazasyed

App.vue

<template>
<fade-transition origin="center" mode="out-in" :duration="250">
    <keep-alive>
        <router-view></router-view>
    </keep-alive>
</fade-transition>
</template>
<script>
    import { FadeTransition } from 'vue2-transitions'

    export default {
        name: 'App',

        components: {
            FadeTransition
        },
    }
</script>

irazasyed avatar Oct 06 '18 14:10 irazasyed