Browse all Vue.js lessons.

showing All 70 lessons...

Configure Named Routes in Vue.js and Nuxt.js

P

Add Custom Routes for Hidden Pages with Vue.js and Nuxt.js

P

Use Scoped CSS in Vue

P

Get Started with Vue Components

P

Get up and running with vue-router

P

Use basic event handling in Vue

P

Create Filters in Vue.js

Dynamic Vue.js Components with the component element

Build Reusable Vue.js Components

Bind Values to Input Fields in Vue.js

Handle DOM Events in Vue.js with v-on

Conditionally Render DOM Elements in Vue.js

Update Attributes, Classes and Styles in Vue.js with v-bind

Use Vue.js Watchers to Respond to Async Updates

Use Vue.js Component Computed Properties

Preload Data using Promises with Vue.js and Nuxt.js

P

Create Vue.js Layout and Navigation with Nuxt.js

P

Build Vue.js Apps with the Vue-CLI and Nuxt.js

P

Create a List Component in Vue.js

Create a Basic Component using Vue.js

vue tutorial about Configure Named Routes in Vue.js and Nuxt.js

Configure Named Routes in Vue.js and Nuxt.js

1:02 vue PRO

As you create more and more routes, the paths become difficult to manage and concatenate the parts together as just a giant string. Using named routes allows you to reference the route by a simple string then pass in the params as an object. This lesson covers configuring named routes in Nuxt.js in the nuxt.config.js and the passing the named route to a router-link.

vue tutorial about Add Custom Routes for Hidden Pages with Vue.js and Nuxt.js

Add Custom Routes for Hidden Pages with Vue.js and Nuxt.js

1:08 vue PRO

Sometimes the pages/ directory structure doesn't meet your needs, so you'll need to customize your routes manually. Using the nuxt config and "hidden pages" you can map routes to view components without getting in the way of the default pages routing.

vue tutorial about Use Scoped CSS in Vue

Use Scoped CSS in Vue

2:09 vue PRO

Let's see how to apply both scoped and global styles to components in our project, and why we need to use the scoped attribute.

vue tutorial about Get Started with Vue Components

Get Started with Vue Components

1:17 vue PRO

Components are one of the most powerful features of Vue. Let's take a look at how to write our first components and make use of them in a parent component.

vue tutorial about Get up and running with vue-router

Get up and running with vue-router

3:14 vue PRO

How do we set up a simple app with its own routes with their own components in Vue?

vue tutorial about Use basic event handling in Vue

Use basic event handling in Vue

2:18 vue PRO

Let's use a range of events and their modifiers to look at the cool ways we can deal with event handlers in Vue.

vue tutorial about Create Filters in Vue.js

Create Filters in Vue.js

1:45 vue

Just like in the command line, you can pipe a property through a filter to get a desired result. You can even chain them together!

vue tutorial about Dynamic Vue.js Components with the component element

Dynamic Vue.js Components with the component element

1:40 vue

You can dynamically switch between components in a template by using the reserved <component> element and dynamically bind to its is attribute. By using <keep-alive> you can tell Vue to keep the component in memory.

vue tutorial about Build Reusable Vue.js Components

Build Reusable Vue.js Components

2:12 vue

By building components, you can extend basic HTML elements and reuse encapsulated code. Most options that are passed into a Vue constructor can be passed into a component. Each instance of a component has an isolated scope. Data can only be passed one direction and it must be from parent to child using props. To communicate with the parent element, use the $emit method.

vue tutorial about Bind Values to Input Fields in Vue.js

Bind Values to Input Fields in Vue.js

1:47 vue

Use v-model to create 2-way data binding. You can render dynamic options in a select element and bind them to their data. Use v-bind on inputs to use dynamic properties on the Vue instance. Adding modifiers like .lazy, .number and .trim allow us to trim our methods and let Vue take care of things like trimming white space.

vue tutorial about Handle DOM Events in Vue.js with v-on

Handle DOM Events in Vue.js with v-on

1:06 vue

v-on can be used to handle interaction with elements in your template. Modifiers like stop and prevent can be used in place to preventDefault() and stopPropagation. Vue.js can also capture key bindings such as v-on:keyup.enter and v-on:keyup.13.

vue tutorial about Conditionally Render DOM Elements in Vue.js

Conditionally Render DOM Elements in Vue.js

1:01 vue

You can use v-if and v-else to display content based on assertions on your data. Similarly, v-show can be used to render the content, but hide it with css. v-if can also be used on an invisible wrapper <template> element.

vue tutorial about Update Attributes, Classes and Styles in Vue.js with v-bind

Update Attributes, Classes and Styles in Vue.js with v-bind

1:17 vue

Use v-bind:class and v-bind:style to compute html classes and inline styles from component data. Vue.js will automatically add vendor prefixes when using v-bind:style.

vue tutorial about Use Vue.js Watchers to Respond to Async Updates

Use Vue.js Watchers to Respond to Async Updates

0:40 vue

Use watchers to keep an eye on your data. Watchers are methods that are invoked when the specified attribute changes. They are useful when you want to perform asynchronous operations in response to changing data.

vue tutorial about Use Vue.js Component Computed Properties

Use Vue.js Component Computed Properties

1:12 vue

You can add computed properties to a component to calculate a property on the fly. The benefit of this over invoking a method is that computed properties are cached based on their dependencies.

vue tutorial about Preload Data using Promises with Vue.js and Nuxt.js

Preload Data using Promises with Vue.js and Nuxt.js

2:23 vue PRO

Nuxt.js allows you to return a Promise from your data function so that you can asynchronously resolve data before displaying the page. This allows the server to fetch the data and render the page once it's ready.

vue tutorial about Create Vue.js Layout and Navigation with Nuxt.js

Create Vue.js Layout and Navigation with Nuxt.js

1:40 vue PRO

Nuxt.js enables you to easily create layout and navigation by replacing the default App.vue template with your own app.vue layout in a layouts directory. Then you simply surround your content (the <nuxt> instance) with your navigation and/or layout and you're ready to go.

vue tutorial about Build Vue.js Apps with the Vue-CLI and Nuxt.js

Build Vue.js Apps with the Vue-CLI and Nuxt.js

2:48 vue PRO

The vue-cli allows you to easily start up Vue projects from the command line while Nuxt.js enables a page-based routing system that follows your file structure. Combine these two projects and you'll have a Vue app created from scratch deployed in a matter of minutes.

vue tutorial about Create a List Component in Vue.js

Create a List Component in Vue.js

2:18 vue

In this lesson, we will learn how to iterate over an array in a Vue.js template using the v-for property. We can add to and remove from that list using v-on:click and v-on:keypress.enter.

vue tutorial about Create a Basic Component using Vue.js

Create a Basic Component using Vue.js

1:04 vue

Vue.js is a "progressive framework for building user interfaces." The core of Vue is focused on the view layer only. It's easy to get started and quick to set up.

In this lesson, we will create a basic Vue component using the new Vue() method and add data properties to show dynamic content in window.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?