
This lesson is about giving you a brief introduction of what Vue.js is and how to install it.
In the last lesson, we have learnt how to install Vue.js. In this lesson, we will learn how to create a Vue program. We will start with the simplest one. We will create a Vue program and display a text value using it. The program may be simple but is very important. Therefore, make sure you have done enough practice after watching this lesson.
Single-body HTML tags like IMG and INPUT rely on their attribute to work. We have already learnt how to control text value using Vue, in this lesson, we are about to find out how to control attribute value.
This lesson will show you how to create the BBC news reading block using Vue.js. Make sure you recreate the whole program all by yourself after watching this lesson.
You will learn how to use the V FOR directive in this lesson.
In this lesson, we will explore a slightly more complicated situation. The value of the data property is still an array but each array element is an object. We are not interested in the object, we only want to display its property value. So how do we achieve this? Watch this lesson to find out how.
Now we have learnt how to use the V FOR directive. Let's apply it to the news reading program we created before and display all six news blocks simultaneously.
This lesson will first give you a review of everything we have learnt so far and use it to introduce PROXY to you.
In this lesson, you will learn what proxy is.
In this lesson, we are going to prove to you that PROXY also works on methods.
In this lesson, we will show you how to exchange data between vm.data and vm.methods
Using the v-on directive, we can monitor events.
Using conditional rendering, we can show and hide page elements based on pre-defined conditions. Compared with native JS and jQuery, Vue offers us a much more simple and elegant solution.
Using v-model, we can easily collect user-submitted data.
In this lesson, we will show you how to use v-model in projects.
Using lazy and number modifier, we can customize the performance of v mode to make it better suit our demands.
You can use the v-model directive on other tags like textarea, radio button, checkbox, etc.
In this lesson, we will show you how to create a list dynamically. You can add and remove list item in real time.
Most of the time, user-subimtted data is like a raw material. We need to furthur process them before using. Vue has offeres us two options in this regard: filter and computed.
Filter is for simple data formatting and filtering. Computed is for complicated data process.
In this lesson, we are going to learn how to use filter.
In this lesson, we are going to learn how to use computed. We will create a program that can automatically reverse the order of user-submitted data.
In this lesson, we are going to create a program that reverses the letter order of user-submitted data. This example can show you the power of computed.
You can exchange info between vm.data and vm.computed. In this lesson, we will show you how.
In our previous lesson, we have alrady learnt how to use the v bind directive. We knew that the v bind direcitve can be used to set values for attributes.
Class and Style are also attributes. Can control them using the v bind directive? If we can , this means we can control CSS using Vue.
So can we do this or not? Watch this lesson to find out.
Lucky for us, we can control the CLASS attirbute using the v bind directive. We can set three values to the class attribute: direct value, array value and JSON value.
This has opened a door of great potential for us. Becuase we can control whether a class wil be added or not by setting properties values in Vue data or Vue computed.
If you still think jQuery can completely replace JavaScript and want to learn Vue.JS, then this course is PERFECT for you because you will learn EVERYTHING you need here.
Minimum Requirement:
This course is designed for students with zero ES6 foundation, BUT you do need to know basic ES5. If you know how to set background color for a DIV using native JavaScript and jQuery, then you are good to go.
<div class='div' id='one'>Set a background color...</div>
Course Contents:
This course has 46 sections and covers 18 areas:
Vue JS Basics (Section 1-27)
Ajax (Section 28)
Connecting Vue to PHP and MySQL (Section 29)
Command Line Instrument (Section 30)
NPM (Section 31)
Babel (Section 32)
JS modular system, including module.exports, import, and export (Section 33)
Webpack (Section 33)
Vue CLI (Section 34)
Vue Single-file Components (Section 34)
Vue Router (Section 35)
VueX (Section 36)
Axios (Section 37, 38, and 39)
Vue UI Library: iView (Section 40)
Advanced JavaScript: scope, scope chain, JavaScript Garbage Collection, Closure, IIFE(Instantly Invoked Function Expression), THIS, etc.
Node.js and Express.js
Connecting Vue to Express and MySQL
Nuxt.js
Note: The Vue version taught in this lesson will be 2.0+
Content Description:
Your VueJS study is made of two stages.
In stage one, you will learn Vue basics like Vue instance, directives, components, etc.
In stage two, you will learn Vue single file component, Vue router, VueX and a Vue UI library called iView.
Between stage one and two, you will learn command line, npm, Babel, and Webpack. You need these skills to take the leap from stage one to stage two.
By the way, skills you learn between stage one and stage two are not just for Vue. You will also need them when you are learning other modern JS-based frameworks.
A frontend program alone is useless until it is connected to backend program and database.
We will teach you how to connect Vue to PHP and MySQL via Ajax and Ajax-based techs like Axios.
Throughout the course, you will be working on several projects so that you will always have a chance to practice and apply what you have learnt.