Vue

Introduction to Vue.js: Directives

PRO
Outline

We will discover what directives are, why they are important, and show you how to use them in this section through hands on exercises and explanations with examples. Directives are the glue that hold things together and bind functionality to your app. Because of directives, you are able to create interactive UI's that respond to user changes.

The directives we will cover are:

  • v-if
  • v-show
  • v-ifelse
  • v-for
  • v-bind
  • v-model
  • v-on

To get a list of all the directives, feel free to browse them on the vuejs docs site here: https://vuejs.org/v2/api/#Directives

 

I finished! On to the next chapter