Learning Vue.js 2

Learn how to build amazing and complex reactive web applications easily with Vue.js

Learning Vue.js 2

Olga Filipova

8 customer reviews
Learn how to build amazing and complex reactive web applications easily with Vue.js
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781786469946
Paperback334 pages

Book Description

Vue.js is one of the latest new frameworks to have piqued the interest of web developers due to its reactivity, reusable components, and ease of use.

This book shows developers how to leverage its features to build high-performing, reactive web interfaces with Vue.js. From the initial structuring to full deployment, this book provides step-by-step guidance to developing an interactive web interface from scratch with Vue.js.

You will start by building a simple application in Vue.js which will let you observe its features in action. Delving into more complex concepts, you will learn about reactive data binding, reusable components, plugins, filters, and state management with Vuex. This book will also teach you how to bring reactivity to an existing static application using Vue.js. By the time you finish this book you will have built, tested, and deployed a complete reactive application in Vue.js from scratch.

Table of Contents

Chapter 1: Going Shopping with Vue.js
Buzzwords
Vue.js history
The most important thing about Vue.js
Let's go shopping!
Using Vue.js in an existing project
Vue.js 2.0!
Projects using Vue.js
Book roadmap
Let's manage time!
Exercise
Summary
Chapter 2: Fundamentals – Installing and Using
MVVM architectural pattern
DefineProperty, getters, and setters
Comparing with other frameworks
Vue.js fundamentals
Installing, using, and debugging a Vue.js application
Debugging your Vue application
Scaffolding our applications
Exercise
Summary
Chapter 3: Components – Understanding and Using
Revisiting components
Benefits of using components
Rewriting the shopping list with simple components
Exercise
Single-file components
Rewriting our shopping list application with single-file components
Exercise
Rewriting the Pomodoro application with single-file components
Reactive binding of CSS transitions
Summary
Chapter 4: Reactivity – Binding Data to Your Application
Revisiting data binding
Interpolating data
Using expressions and filters
Revisiting and applying directives
Kittens
Summary
Chapter 5: Vuex – Managing State in Your Application
Parent-child components' communication, events, and brain teaser
Why do we need a global state store?
What is Vuex?
How does the store work and what is so special about it?
Greetings with store
Installing and using the Vuex store in our applications
Using the Vuex store in the shopping list application
Using Vuex store in the Pomodoro application
Summary
Chapter 6: Plugins – Building Your House with Your Own Bricks
The nature of Vue plugins
Using the vue-resource plugin in the shopping list application
Creating and using a plugin in the Pomodoro application
Summary
Chapter 7: Testing – Time to Test What We Have Done So Far!
Why unit tests?
Unit tests for Vue application
Writing unit tests for the shopping list application
Writing unit tests for our Pomodoro application
What is end- to-end testing?
Nightwatch for e2e
Writing e2e tests for the Pomodoro application
Summary
Chapter 8: Deploying – Time to Go Live!
Software deployment
Moving the application to the GitHub repository
Setting continuous integration with Travis
Deploying the Pomodoro application
Deploying the shopping list application
Chapter 9: What Is Next?
The journey so far
Vue 2.0
Revisiting our applications
Why is it just the beginning?
Summary
Chapter 10: Solutions to Exercises
Exercise for chapter 1
Exercises for chapter 2
Exercises for chapter 3
Summary

What You Will Learn

  • Build a fully functioning reactive web application in Vue.js from scratch.
  • The importance of the MVVM architecture and how Vue.js compares with other frameworks such as Angular.js and React.js.
  • How to bring reactivity to an existing static application using Vue.js.
  • How to use plugins to enrich your applications.
  • How to develop customized plugins to meet your needs.
  • How to use Vuex to manage global application’s state.

Authors

Table of Contents

Chapter 1: Going Shopping with Vue.js
Buzzwords
Vue.js history
The most important thing about Vue.js
Let's go shopping!
Using Vue.js in an existing project
Vue.js 2.0!
Projects using Vue.js
Book roadmap
Let's manage time!
Exercise
Summary
Chapter 2: Fundamentals – Installing and Using
MVVM architectural pattern
DefineProperty, getters, and setters
Comparing with other frameworks
Vue.js fundamentals
Installing, using, and debugging a Vue.js application
Debugging your Vue application
Scaffolding our applications
Exercise
Summary
Chapter 3: Components – Understanding and Using
Revisiting components
Benefits of using components
Rewriting the shopping list with simple components
Exercise
Single-file components
Rewriting our shopping list application with single-file components
Exercise
Rewriting the Pomodoro application with single-file components
Reactive binding of CSS transitions
Summary
Chapter 4: Reactivity – Binding Data to Your Application
Revisiting data binding
Interpolating data
Using expressions and filters
Revisiting and applying directives
Kittens
Summary
Chapter 5: Vuex – Managing State in Your Application
Parent-child components' communication, events, and brain teaser
Why do we need a global state store?
What is Vuex?
How does the store work and what is so special about it?
Greetings with store
Installing and using the Vuex store in our applications
Using the Vuex store in the shopping list application
Using Vuex store in the Pomodoro application
Summary
Chapter 6: Plugins – Building Your House with Your Own Bricks
The nature of Vue plugins
Using the vue-resource plugin in the shopping list application
Creating and using a plugin in the Pomodoro application
Summary
Chapter 7: Testing – Time to Test What We Have Done So Far!
Why unit tests?
Unit tests for Vue application
Writing unit tests for the shopping list application
Writing unit tests for our Pomodoro application
What is end- to-end testing?
Nightwatch for e2e
Writing e2e tests for the Pomodoro application
Summary
Chapter 8: Deploying – Time to Go Live!
Software deployment
Moving the application to the GitHub repository
Setting continuous integration with Travis
Deploying the Pomodoro application
Deploying the shopping list application
Chapter 9: What Is Next?
The journey so far
Vue 2.0
Revisiting our applications
Why is it just the beginning?
Summary
Chapter 10: Solutions to Exercises
Exercise for chapter 1
Exercises for chapter 2
Exercises for chapter 3
Summary

Book Details

ISBN 139781786469946
Paperback334 pages
Read More
From 8 reviews

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Learning Angular 2 Book Cover
Learning Angular 2
$ 31.99
$ 22.40
React.js Essentials Book Cover
React.js Essentials
$ 23.99
$ 16.80
Object-Oriented JavaScript - Second Edition Book Cover
Object-Oriented JavaScript - Second Edition
$ 29.99
$ 21.00
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
AngularJS UI Development Book Cover
AngularJS UI Development
$ 26.99
$ 18.90