Learn Vue.js 2 from scratch!
Some time ago, we started a new project based on Laravel and Vue.js. After thoroughly reading Vue.js' guide and a few tutorials, we discovered a lack of resources about Vue.js around the web. During the development of our project, we gained a lot of experience, so we came up with the idea to write this book in order to share our acquired knowledge with the world. Now that Vue.js 2 is out we decided it was time to update our book by publishing a second version where all examples and their relative contents are rewritten.
The book is written in an informal, intuitive, and easy-to-follow format, wherein all examples are appropriately detailed enough to provide adequate guidance to everyone. We’ll start with the very basics and through many examples, we’ll cover the most significant features of Vue.js 2.
The best way to learn code is to write code, so we have prepared one exercise at the end of most chapters for you to solve and actually test yourself on what you have learned. We have also updated the exercises and solutions for Vue 2, and strongly recommend you to try as much as possible to solve them in order to gain a better understanding of Vue.js.
By the end of this book, you will be able to create fast front end applications and increase the performance of your existing projects with Vue.js integration.
Who is this book for
This book is also useful for any reader who already know their way around Vue.js and want to expand their knowledge.
Table of Contents
Chapter I Vue.Js Fundamentals
Chapter 1. Install Vue.Js
Chapter 2. Getting Started
Chapter 3. A Flavor Of Directives
Chapter 4. List Rendering
Chapter 5. Interactivity
Chapter 6. Filters
Chapter 7. Components
Chapter 8. Custom Events
Chapter 9. Class And Style Bindings
Chapter II Consuming An Api
Chapter 10. Preface
Chapter 11. Working With Real Data
Chapter 12. Integrating Vue-Resource
Chapter 13. Pagination
Chapter III Building Large-Scale Applications
Chapter 14. Ecmascript 6
Chapter 15. Advanced Workflow
Chapter 16. Working With Single File Components
Chapter 17. Eliminating Duplicate State
Chapter 18. Swapping Components
Chapter 19. Vue Router