Book description
Get a brisk introduction to building fast, interactive single-page web applications with Vue.js, the popular JavaScript framework that organizes and simplifies web development. With this practical guide, you’ll quickly move from basics to custom components and advanced features—including JSX, the JavaScript syntax extension.
Author Callum Macrae shows you how to use the most useful libraries in the Vue ecosystem, such as vue-router for routing, vuex for state management, and vue-test-utils for testing. If you’re a frontend developer familiar with JavaScript, HTML, and CSS, this book will show you how to develop a fully featured web application using Vue.
- Learn Vue.js basics, including its use of templates to display data on a page
- Set up Vue projects from scratch, or use vue-cli to set up from a template
- Create a maintainable codebase by splitting code into self-contained components
- Discover how Vue.js works with CSS to style your websites and applications
- Use render functions and JSX, rather than templates, to determine what Vue displays
- Control how code is executed and displayed with vue-router
- Manage state in one centralized place with the Vuex library
- Write unit tests to ensure your Vue components don’t break in the future
Publisher resources
Table of contents
- Preface
-
1. Vue.js: The Basics
- Why Vue.js?
- Installation and Setup
- Templates, Data, and Directives
- v-if Versus v-show
- Looping in Templates
- Binding Arguments
- Reactivity
- Two-Way Data Binding
- Setting HTML Dynamically
- Methods
- Computed Properties
- Watchers
- Filters
- Accessing Elements Directly Using ref
- Inputs and Events
- Life-Cycle Hooks
- Custom Directives
- Transitions and Animations
- Summary
- 2. Components in Vue.js
- 3. Styling with Vue
- 4. Render Functions and JSX
- 5. Client-Side Routing with vue-router
- 6. State Management with Vuex
- 7. Testing Vue Components
- A. Bootstrapping Vue
- B. Vue from React
- Index
Product information
- Title: Vue.js: Up and Running
- Author(s):
- Release date: March 2018
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491997246
You might also like
book
Vue.js in Action
Web pages are rich with data and graphics, and it's challenging to maintain a smooth and …
book
Building Progressive Web Applications with Vue.js: Reliable, Fast, and Engaging Apps with Vue.js
Obtain all the necessary tools for developing a progressive web application (PWA) with Vue.js, a modern …
book
Getting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch
Learn how to render lists of items without repeating your code structure and how to work …
book
Building Forms with Vue.js
Learn how to build dynamic schema-driven forms with Vue from scratch Key Features Understand the basics …