Skip to content

Files

Latest commit

 

History

History
25 lines (18 loc) · 396 Bytes

no-deprecated-v-enter-v-leave-class.md

File metadata and controls

25 lines (18 loc) · 396 Bytes

Pattern: Deprecated transition class name

Issue: -

Description

Disallows use of deprecated v-enter and v-leave transition class names in favor of v-enter-from and v-leave-from.

Examples

<template>
  <Transition><div v-if="foo"/></Transition>
</template>

<style scoped>
/* ✗ BAD */
.v-enter {}
.v-leave {}

/* ✓ GOOD */
.v-enter-from {}
.v-leave-from {}
</style>