Learning Vue 1.0: Step By Step
Mark my words: Vue.js will sky-rocket in popularity in 2016. It's that good. Want to get ahead of the pack? Let me show you the building blocks of Vue.
Updated Series Available
You are viewing an archived course. We instead recommend that you watch Learn Vue 2: Step By Step.
Progress
Series Info
- Episodes
- 22
- Run Time
- 3h 14m
- Difficulty
- Beginner
- Last Updated
- Apr 21, 2016
- Version
- Latest
Series Episodes
- Episodes (22)
Hello Databinding
Your first step is to learn the basics of reactivity in Vue. You'll learn about two-way data-binding, and why it's so great!Vue Show
You'll often find yourself needing to toggle the display of an element, based upon some set of criteria. For example, maybe a submit button shouldn't display unless you've first typed in a message. How might we accomplish that with Vue?Event Handling
Who about basic event handling? When a user clicks a button, or submits a form, or presses a key. How do we manage these common operations with Vue? Once again, it's a breeze!A Peek into Components
It's a bit early in your learning, but let's take a few moments to review Vue components, using the previous example of a counter. What if you wanted multiple counters on the page, each with their own sets of data? How would we accomplish that?Computed Properties
What do we do, when the value of a property varies, based upon some set of criteria? Well, in these cases, you'll want to reach for computed properties.Subscription Plans Exercise
Let's focus on a practical, real-life example, using a subscription plan page. How do we differentiate between upgrades and downgrades? How do we select active plans? How do we perform two-way binding with custom components? As always, with Vue, it's a cinch.Rendering and Working With Lists
Let's learn how to filter through and render lists in this lesson.Custom Components 101
We've glazed over custom components in a previous video, but let's dig in and figure out exactly how to construct them from scratch in this episode.Vue Makes it so Easy
In this episode, we'll further review computed properties, as we tweak the functionality our task app in a number of ways. As always, with Vue, it only takes a matter of seconds.Vue, Laravel, and AJAX
It's easy to hardcode a set of data to demonstrate some piece of Vue functionality. But, what about when it's time to actually fetch that data from your server. How do we go about that? Well, I'll show you two options.Vue Resource
If your only need for jQuery is to perform AJAX requests, then, instead, you should use Vue's resource plugin.Component Exercise #1
It's important to give yourself little exercises, to ensure that all of this education is embedding itself into your workflow. Let's build an alert component from scratch.Vue and Laravel Workflow
Let's begin learning what your workflow might look like, once you mix Vue with Laravel.Vue Filter Essentials
Let's return to some Vue fundamentals. We've yet to review filters, so let's tackle that now. As you'll find, a filter is nothing more than a function that accepts a value, and transforms it in some way.Managing Custom Events
You'll often have a need to communicate between components. Maybe a child component needs to send a message up the chain. How exactly do we handle this? Well, I'll demonstrate two options.Custom Directives and Asynchronous Forms
Often, you'll find yourself in the position of wanting a form to submit asynchronously. Or, in other words, rather than performing a full post back to the server and refreshing the page, we'd rather opt for a simple AJAX request behind the scenes. Well at this point in your learning, you already know one way to hijack a form's submission, but what if we could instead create a reusable Vue directive to simplify things? What if we could simply addv-ajaxto a form tag, and have it automatically switch to using AJAX for its submission?Vue Transitions and Animations
We haven't yet reviewed Vue's transition system. As you'll find, it takes a very simple approach. Apply a custom attribute, write a bit of CSS, and you're all set to go. Or, you could take it one step further, and integrate Animate.css with Vue. I'll show you how.Managing Duplicate State
When building your apps, you may find yourself constantly passing state from component to component. Now, while we can use events for this purpose - and we've already reviewed that very process - it's possible that a better option is to instead extract the shared state into its own object. I'll show you how in this lesson.Swapping View-Specific Components
If you're not building a full SPA, it can sometimes prove difficult to determine how to organize your view-specific Vue instances. If I want one component for my home page, and another one for the posts page, how exactly do I organize and render them? I'll show you the basic workflow in this lesson, and then, in the following episode, we'll review the exact structure you might for a typical Laravel application.Workflow for Swapping Components
In the previous episode, we reviewed the basic concept of how you might create and organize view-specific components for a traditional server-side application. Now, let's see exactly what that looks like, within the context of a fresh Laravel application.Alert Component From Scratch
In the Laravel From Scratch series, one episode covered the process of displaying flash alert messages. Let's take that basic idea, and create anAlertcomponent with Vue from scratch.Vue Mixins
Mixins in Vue are very much like PHP traits. Create an object, mix it into an existing Vue instance, and, badabing-badaboom, you now have new re-usable functionality. Sweet!
