Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Vue.js 2 for absolute beginners
Rating: 4.5 out of 5(11 ratings)
96 students

Vue.js 2 for absolute beginners

Learn Vue.js by building components and connected apps
Created byMichel Martin
Last updated 10/2020
English

What you'll learn

  • Create responsive user interfaces
  • Add features to an existing web project
  • Create SPA web applications (single page)
  • Create mobile apps (Android and iOS)
  • Acquire knowledge to properly program in Vue js 2 (methods, computed properties, data binding, directives, etc.)
  • Learn how to create a components hierarchy
  • Use the Vue-Cli interface (application creation, render methods, JSX, functional components).
  • Facilitate communication between components with the Vuex state manager, or with observables.
  • Create plugins for Vue JS
  • Use mixins, custom directives and NuxtJS

Course content

7 sections92 lectures8h 47m total length
  • Vue.js Key Principles2:15
  • Preparing your development environment6:13
  • Vue.js MVVM pattern2:38
  • A first Vue.js project4:09
  • A second Vue.js project3:16
  • Your first exercise3:08

    Practice displaying data with interpolation and a ternary operator by binding a model property to the view, showing true or false based on the Intr value.

  • Computed properties3:13
  • Computed properties vs Methods1:36
  • Data binding4:25
  • Accessing text nodes5:46
  • A Vue.js clock4:17
  • Using Vue.js Devtools2:21

    Install and enable the Vue.js devtools extension in Chrome, Firefox, and Edge, then open the Vue tab with F12 to inspect root component and its dynamic hours, minutes, and seconds.

  • Two-way binding6:43

    Explore two-way binding with Vue.js 2 using the v-model directive to connect input, select, and textarea to the model, observe automatic updates between view and model.

  • Using v-model and v-bind directives4:11
  • An array in the Model4:33

    Learn to bind an array to the Vue.js 2 model to track checkbox and radio button selections, display chosen languages in a paragraph, and practice with a short exercise.

  • The v-html directive4:53
  • Event handlers3:16

    Define event handlers using the v-on directive in Vue.js 2, binding to events and executing code or functions; increment a counter on button clicks and display it with interpolation.

  • Using the methods section3:22
  • Event handlers with arguments2:42
  • Using $event in an event handler4:54
  • Using preventDefault() and stopPropagation() JavaScript functions8:54
  • stop and prevent event modifiers7:14

    Learn how to use Vue.js 2 stop and prevent modifiers to control event propagation and default actions, and practice image resizing with left and right click modifiers.

  • Using arrays in the Model4:14
  • Viewing languages in a bulleted list7:20
  • Dynamic arguments6:06
  • Browsing JSON objects with a v-for directive3:29
  • Keyboard events4:37
  • The v-cloak directive1:26
  • The v-once directive3:28

    Explore how the v-once directive renders an element once, preventing updates, and compare it with rendering without v-once while incrementing a number (default 15) via a Vue instance.

  • Conditional classes8:01
  • Using several classes in an item5:20

    Learn to apply multiple classes to text in Vue.js 2 by binding conditional classes to bold, italic, and underline using checkboxes and boolean model properties.

  • Modifying inline styles7:49
  • Displaying HTML conditionally9:39

Requirements

  • A basic knowledge of HTML5, CSS and JavaScript is preferable to be comfortable in this training.

Description

This video training was designed for JavaScript programmers who want to learn how to use the Vue.js 2 framework. Unlike other JavaScript frameworks, Vue.js can be adopted as and when required. It can also coexist with existing JavaScript logic without interfering with it.

You will use Vue.js to:

  • Create responsive user interfaces from scratch

  • Add features to an existing Web project

  • Create SPA web applications

  • Create applications for mobiles (both Android and iOS)

Today Vue.js is a very popular framework. Certainly because it is easy to set up, offers very good performance and can be used more or less extensively, depending on what is needed.

When I started creating this video training course, I had two choices:

  • Create a common thread and gradually integrate the different concepts learned throughout the training.

  • Create independent examples to easily and quickly learn the different concepts of Vue.js.

I am a face-to-face trainer and I was able to experiment these two approaches. Although the first has its fervent followers, the second gives better results in terms of learning, because each example can be chosen in an extremely precise way, without having to follow a logic of global integration which could neglect certain aspects of what needs to be learned. It is therefore this second approach that was adopted.

Each topic is approached independently and illustrates a particular aspect of Vue.js: computed properties, data binding, directives, event management, conditional classes, props, custom events, lifecycle hooks, etc. etc ..

Many exercises are available to you. When you are asked to stop scrolling the video, play the game: stop the video and code as you like, starting with a standard skeleton or a blank page. You will see that by doing so, your learning curve will be very fast. When you have finished coding, you can resume scrolling the video: a correction will be offered.

This training is very comprehensive. Here are some of the topics covered:

  • Standard view and ViewModel programming: methods, computed, data binding, bidirectional binding, directives (v-model, v-bind, v-html, v-for, v-cloak, v-once, v-if and many others).

  • Local and global components, communication between components and the ViewModel, prioritization of an application using components, slots, filters, watchers, transitions and animations.

  • SPA applications (routing, navigation guards).

  • Vue-Cli command line interface (application creation, render methods, JSX, functional components).

  • Vuex state manager, Vue.observable, plugins.

  • Mixins, personalized directives, NuxtJS, mobile applications.

All the source codes of the training are available.

I can only advise you one thing: experience the code for yourself, code and progress at your own pace. Little by little, Vue.js will seem more and more familiar to you and you will appreciate its power and flexibility.

So ... Happy coding!

Who this course is for:

  • JavaScript programmers who want to learn how to use the Vue JS 2