Vue Communicates with the Internet

In this chapter, the following recipes will be covered:

  • Sending basic AJAX request with Axios
  • Validating user data before sending it
  • Creating a form and sending data to your server
  • Recovering from an error during a request
  • Creating a REST client (and server!)
  • Implementing infinite scrolling
  • Processing a request before sending it out
  • Preventing XSS attacks to your app

Get Vue.js 2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.