DEV Community

Cover image for VueJs Beginners part 1 - Directives
Hash
Hash

Posted on • Updated on

VueJs Beginners part 1 - Directives

I started learning VueJs and tend to share it with you step by step. Slowly, but steadily.

The Progressive JavaScript Framework
An approachable, performant and versatile framework for building web user interfaces.

Features and benefits :

  • Virtual dom like react js
  • lightweight 10k gzip
  • Progressive : it can be used for small and large
  • Vue ecosystem
  • Incrementally adoptable : it can be integrated for any legacy application page by page. it doesn't need be written whole app

History of Vue js

Image description

Some VueJS Directives

Vue. js Directives are special HTML attributes that allow us to manipulate the DOM. Directives are very powerful and we use them every day.

v-model: Create a two-way binding on a form input element or a component.
v-if
v-else-if
v-else
v-colak : Used to hide un-compiled template until it is ready.

a sample project to check VueJs Directives on a project

more directives here

Top comments (0)