When trying to use the vue - transition component, which allows you to animate the appearance and disappearance of an element, I was faced with the fact that the Web Storm editor refuses to accept this component, describing it by the fact that the transition component does not exist (Unknown html tag transition).

Code:

<div id="demo"> <button v-on:click="show = !show"> Переключить </button> <transition name="fade"> <p v-if="show">hello</p> </transition> </div> new Vue({ el: '#demo', data: { show: true } }) .fade-enter-active, .fade-leave-active { transition: opacity .5s } .fade-enter, .fade-leave-to /* .fade-leave-active до версии 2.1.8 */ { opacity: 0 } 
  • So what is the question? - mix
  • The editor does not accept the transition tag. I do not understand why, an example was taken from the office. Documentation - jerryngton

0