Skip to content

vue-scoped-css/no-deprecated-v-enter-v-leave-class

disallow v-enter and v-leave classes.

  • ⚙️ This rule is included in "plugin:vue-scoped-css/all".

📖 Rule Details

This rule reports the use of the v-enter and v-leave classes renamed in Vue 3 as an error.
You should change it to use the v-enter-from and v-leave-from classes instead.

See Vue 3 Migration Guide - Transition Class Change for more details.

Now loading...

If you define both old and new in the same selector, no error will be reported.

Now loading...

This rule also reports enter-class and leave-class props.

Now loading...

🔧 Options

Nothing.

📚 Further reading

Implementation