Oreilly - Vue.js 2 Recipes
by Peter van Meijgaard | Publisher: Packt Publishing | Release Date: September 2017 | ISBN: 9781787281479
Learn useful solutions to common problems encountered when building Vue 2 applicationsAbout This VideoUnderstand and use Vue's reactivity system, data binding, and computed propertiesCreate fluid transitions in your application with Vue's built-in transition systemUse Vuex and Webpack to build medium-to-large scale SPAs and enhance your development workflowIn DetailVue.js is an open source JavaScript library for building modern, interactive web applications. With a rapidly growing community and a strong ecosystem, Vue.js makes developing complex, single-page applications a breeze. Its component-based approach, intuitive API, blazingly fast core, and compact size make Vue.js a great solution with which to craft your next front-end application.This video tutorial dives right into exploring various tasks that you will come across while building your web applications with Vue.js. You start with building a simple Vue application, and then learn to add different elements, filters, properties, and forms to your project. You'll explore the different transitions and animations possible with Vue.js, and add components and events to your Vue application, making it more dynamic as you go. After that, you'll learn how to add communication with remote resources to your Vue application and leverage VueRouter 2 to build a single-page application. Finally, you will delve into advanced state management with Vuex and learn to test the applications you've built.By the end of this course, you'll be ready to take on real-world projects with Vue, armed with the solutions needed to face development tasks head-on.
- Chapter 1 : Quick Start
- The Course Overview 00:05:46
- Using Different Vue CLI Templates for Your Application 00:04:20
- Building a Simple Application with Vue 00:02:39
- Adding Reactive Elements to Your Vue Application 00:03:48
- Adding Interactivity to Your Web Application with Events 00:05:45
- Constructing Your Own Vue Filters for Transforming Your Output 00:05:56
- Debugging Your Vue Application 00:04:55
- Chapter 2 : Computed Properties, Filters, and Conditionals
- Filtering a List Using a Computed Property 00:06:19
- Sorting a List Using a Computed Property 00:04:08
- Using Filters to Show Currency 00:02:50
- Working on Dates with Filters and MomentJS 00:08:29
- Conditionally Rendering Your Pages with v-if and v-show 00:07:01
- Manipulating an Element by Binding Styles and Classes 00:08:05
- Chapter 3 : Forms
- Building a Basic Form Using Bootstrap and Vue 00:04:21
- Handling Form Buttons of Different Types 00:03:47
- Employing Vue Selects, Checkboxes, and Radio Elements in Your Form 00:05:19
- Chapter 4 : Transitions
- Creating Your Own Transition Classes 00:05:24
- Transitioning on Initial Render 00:03:48
- Transitioning between Elements 00:03:30
- Entering and Leaving Transitions for Elements in a List 00:03:44
- Reusing Transitions Throughout Your Application 00:04:00
- Creating Reactive Transitions for Your Application 00:02:18
- Chapter 5 : Dynamic Components and Events
- Creating Dynamic Components for Your Applications 00:03:21
- Passing Data between Parent/Child Dynamic Components 00:02:17
- Adding Component Events to Your Application 00:03:36
- Chapter 6 : Advanced Components
- Passing Properties to Components 00:06:14
- Handling Data Outside of a Component 00:02:35
- Creating Reusable Components for Your Application 00:03:37
- Using Slots in Components for Passing Data 00:03:58
- Chapter 7 : Vue Files
- Packaging a Component in a Vue File with Webpack 00:07:47
- Working with Advanced Vue Files 00:06:25
- Chapter 8 : Axios
- Making Basic Calls 00:02:29
- Making Reactive Calls Inside Your Application 00:05:12
- Making Form Calls Within Your Application 00:02:15
- Error Handling 00:04:39
- Chapter 9 : Request Handling
- Using Request and Response Interceptors 00:04:22
- Throttling and Debouncing Requests Using Lodash 00:03:34
- Protecting Your Application Against CSRF 00:02:15
- Chapter 10 : Vue Router and Sessions
- Developing Pages for Vue Router 00:05:29
- Using Route Parameters 00:04:53
- Adding Navigation Guards 00:03:10
- Developing Nested Routes 00:03:06
- Redirecting Using Navigation Guards 00:02:11
- Handling Authentication and Route Metadata 00:03:31
- Create Login Functionality in Combination with LocalStorage 00:07:56
- Chapter 11 : Vuex
- Adding Vuex to Your Application 00:05:49
- Accessing Store Data in Components 00:06:24
- Structuring a Small Vuex Store 00:02:36
- Chapter 12 : Advanced Vuex
- Managing Your Application's State with Vuex 00:05:27
- Making Use of Vuex Getters 00:03:50
- Changing Your Application's State with Mutations 00:05:39
- Committing Mutations with the Help of Actions 00:02:50
- Managing Your Application's Store Size with Modules 00:09:35
- Using Vuex Plugins in Your Applications 00:03:46
- Handling Forms in Your Application with Vuex 00:05:50
- Chapter 13 : Testing Vue
- Unit Testing a Vue Component 00:08:20
- Unit Testing the Actions from the Vuex Store 00:06:38
- Unit Testing the Mutations from the Vuex Store 00:04:17
- Unit Testing the Getters from the Vuex Store 00:03:04
- End-to-End Testing with Nightwatch 00:07:05