Troubleshooting Vue.js [Video]
-
Free ChapterTroubleshooting Techniques
-
Solving Common Issues with the Templating System - The View
-
Troubleshooting Vue's Components and Data Binding – The ViewModel
- Declaring Too Many Global Components
- Forgetting to Import/Export a Component
- Forgetting to Register a Component
- Conflicting Component Names with HTML Elements
- The Missing Dot
- Component's Data as an Object and Function
- Confusing Parentheses with Curly Braces
- The v-if and v-show Directives
- Common Side Effect Using v-for with Object
- Using Mutating versus Non-Mutating Array Methods
-
Understanding Issues and Limitations with Forms
-
Resolving Issues with Routing and State Management
Do you know what to do if your Vue application goes blank? What if the view does not update when something changes in the model? Or what if the view fails to respond to a route change? Whenever you have a problem with your Vue application, don't panic! There are many different things that could cause a problem with your Vue application. Some common issues center around templates, components, forms, lists, routing, and performance. No matter what's causing the issue, there are many basic troubleshooting techniques you can use to fix issues such as these.
Troubleshooting is a process of trial and error—in some cases, you may need to use several different approaches before you can find a solution. Some problems may be easy to fix while others are impossible to resolve at all. This course highlights some common problems faced by developers in different stages of their Vue application development and shows you some simple and practical methods to try when troubleshooting, as well as how to solve more difficult problems you may encounter.
All the code and supporting files for this course are available on Github at https://github.com/PacktPublishing/Troubleshooting-Vue.js
Style and Approach
This course uses a problem-based approach to analyze and solve common mistakes and problems. The course is full of hands-on instructions and demonstrations with clear explanations and useful tips to help you troubleshoot errors with your Vue.js application.
- Publication date:
- October 2018
- Publisher
- Packt
- Duration
- 5 hours 8 minutes
- ISBN
- 9781788993531