This talk is about the basic of vue.js, I don't cover a lot about how to integrate with rails but I do cover all the basic required to learn Vue. The codepen demo link
https://codepen.io/rabingaire/
2. Why Vue.js
• Declarative
• Approachable
• Versatile
• Easy to maintain
• Powerful
• Collection of best of the best
• Testable
3. Vue Basics
Progressive framework
it’s called progressive because if we have existing server side application we can
plug vue to one part of the application.
5. Vue Directives
v-bind / :
v-model
v-on / @
v-if
And you can also create your own Directives Sweet
😀
v-else
v-else-if
v-for
v-show
Vue Directives are tiny attributes of
html that vue offers, these help to
extend the html that we have in
disposal
v-show disables the tag using css
rule, while v-if removes/reinjects or
unmount and remount element on the
page/dom