Complete Vue.js 2 Web Development_ Practical guide to building end-to-end web development solutions with Vue.js 2
Vue Communicates with the Internet Chapter 14 Getting ready This recipe is fairly advanced in the sense that you will need to be ...
Vue Communicates with the Internet Chapter 14 Next, you'll build a Vue app that communicates with the server seamlessly. Now, si ...
Vue Communicates with the Internet Chapter 14 For creating a new message, write a method that binds to the click of the add butt ...
Vue Communicates with the Internet Chapter 14 Launch your application and you will be able to manage your board of sticky messag ...
Vue Communicates with the Internet Chapter 14 The POST verb is used to add a new message to the list. Note how it's not idempote ...
Vue Communicates with the Internet Chapter 14 To know when the user has reached the bottom of the page, we add a method in our V ...
Vue Communicates with the Internet Chapter 14 The method will recursively call itself until the page has enough words to fill th ...
Vue Communicates with the Internet Chapter 14 Processing a request before sending it out This recipe teaches you how to use inte ...
Vue Communicates with the Internet Chapter 14 In our Vue instance, we write all the support code to send the comment to our serv ...
Vue Communicates with the Internet Chapter 14 We can launch our application now and try to write our salty comment: How it works ...
Vue Communicates with the Internet Chapter 14 Preventing XSS attacks to your app Writing applications without thinking about sec ...
Vue Communicates with the Internet Chapter 14 How it works... To prevent XSS attacks, you must ensure that no user input can app ...
Vue Communicates with the Internet Chapter 14 As you can see, the mail is not even about our application and the here hyperlink ...
15 Single Page Applications In this chapter, the following recipes will be covered: Creating an SPA with vue-router Fetching dat ...
Single Page Applications Chapter 15 URLs don't point to HTML pages anymore, but to particular states of your application (that m ...
Single Page Applications Chapter 15 <li>Bar</li> </ul> <router-view></router-view> </div> Th ...
Single Page Applications Chapter 15 Now, you can finally create the router. The code for it is as follows: const router = new Vu ...
Single Page Applications Chapter 15 How it works... The first thing your program does is to register vue-router as a plugin. The ...
Single Page Applications Chapter 15 Why do we match two different things? It depends on how you wrote the router link. <li> ...
Single Page Applications Chapter 15 <li><router-link to="/" exact>Home</router-link></li> <li>< ...
«
19
20
21
22
23
24
25
26
27
28
»
Free download pdf