- Vue.js 2 Web Development Projects
- Guillaume Chau
- 220字
- 2021-07-02 22:34:30
Summary
In this chapter, we created our first real Vue app, with several useful functions, like a real-time markdown preview, a note list, and the local persistence of the notes. We introduced different Vue features, such as the computed properties that are automatically updated and cached as needed, the methods to reuse logic inside functions, the watchers to trigger code when properties change, lifecycle hooks to execute code when the Vue instance is created, and the filters to easily process expressions in our template. We also used a lot of Vue directives inside our template, such as ;v-model to bind form inputs, v-html to display dynamic HTML from our JavaScript properties, v-for to repeat elements and display lists, v-on (or @) to listen to events, v-bind (or :) to dynamically bind HTML attributes to JavaScript expressions or to apply CSS classes dynamically, and v-if to include or not template parts, depending on JavaScript expressions. We saw all of these features come together to build a fully functional web application, with Vue superpower helping us to get the work done without getting in the way.
In the next chapter, we will start a new project--a card-based browser game. We will introduce some new Vue features and will keep reusing all we know to continue building better and prettier web apps.
- Learning Single:page Web Application Development
- C語言程序設計案例教程(第2版)
- Java異步編程實戰
- LabVIEW入門與實戰開發100例
- Oracle從新手到高手
- HTML5+CSS3基礎開發教程(第2版)
- 新手學Visual C# 2008程序設計
- Object-Oriented JavaScript(Second Edition)
- Essential Angular
- 精通Python設計模式(第2版)
- INSTANT Django 1.5 Application Development Starter
- Mastering JavaScript High Performance
- 零基礎入門學習Python(第2版)
- Microsoft Dynamics AX 2012 R3 Financial Management
- 智能手機故障檢測與維修從入門到精通