The Majesty of Vue.js 1
The Majesty of Vue.js 1
$20.90
Minimum price
$27.90
Suggested price
The Majesty of Vue.js 1

This book is 100% complete

Completed on 2016-10-12

About the Book

TL;DR: This book is addressed to anyone interested in learning Vue.js. It is useful for developers who are new to Vue.js as well as those who already use Vue.js and want to expand their knowledge. The book will be constantly updated to keep up with Vue.js changes and new chapters will be added for a long time.  

A percentage (30%) of book earnings will be donated to Evan You to support the excellent work he's doing with the Vue framework.

Disclaimer: Purchasing this book does not grant you access to The Majesty of Vue.js 2. If you are looking to get both books, check the Vue.js Evolution bundle.

If you are looking for our book about Vue.js 2, you will find it here:  The Majesty of Vue.js 2

This book will guide you through the path of the rapidly spreading Javascript Framework called Vue.js!

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.

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.

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 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

Everyone who has spent time to learn modern web development has seen Bootstrap, Javascript, and many Javascript frameworks.

This book is for anyone interested in learning a lightweight and simple Javascript framework.

No excessive knowledge is required, though it would be good to be familiar with HTML and Javascript. If you don't know what the difference is between a string and an object, maybe you need to do some digging first.

This book is also useful for any reader who already know their way around Vue.js and want to expand their knowledge.

About the Authors

Alex Kyriakidis
Alex Kyriakidis

Alex Kyriakidis is an ambitious, award winner developer, software engineer perfectionist and currently addicted to Laravel and Vue.js. He has worked with several teams delivering high quality cross-platform applications, APIs and websites.

Alex spends his time learning cutting edge technologies every day, striving to make the best developer out of himself.

Kostas Maniatis
Kostas Maniatis

Kostas was Alex's apprentice but now has become an aspiring web developer and the arch nemesis of his former master. Currently, he runs vuejsfeed.com and is a core member of Vuedo.

Bundles that include this book

The Majesty of Vue.js 2
The Majesty of Vue.js 1
2 Books
$59.80
Suggested Price
$36.90
Bundle Price

About the Contributors

Alexandros Kostelidis
Alexandros Kostelidis

Designer

Alexandros is an excellent designer.

He works as a Videographer and in his free time he designs things and creates music for fun.

He is also the designer of our Book cover.

You can find a sample of his work on Vimeo.

Eugenia Papoulia
Eugenia Papoulia

Editor

Eugenia is an English teacher. She works as a translator and her main field is literature. However, she is challenged by all kinds of books. In her free time she likes to make subtitles for TV-series.

Stelis Vafeidis
Stelis Vafeidis

Editor

Stelis is an awesome editor. He devoted a lot of time to read thoroughly the entire book a bunch of times, pointing out all our grammatical and syntax flaws. His contribution was invaluable to us and we can't thank him enough! This is the only text he hasn't edited. <3

Table of Contents

  • Introduction
    • About Vue.js
      • Vue.js Overview
      • What people say about Vue.js
      • Comparison with Other Frameworks
        • Angular
        • React
        • Ember
        • Polymer
        • Riot
    • Welcome
      • About the Book
      • Who is this Book for
      • Get In Touch
      • Homework
      • Sample Code
      • Errata
      • Conventions
  • Vue.js Fundamentals
    • 1. Install Vue.js
      • 1.1 Standalone Version
        • 1.1.1 Download from vuejs.org
        • 1.1.2 Include from CDN
      • 1.2 Download using NPM
      • 1.3 Download using Bower
    • 2. Getting Started
      • 2.1 Hello World
      • 2.2 Two-way Binding
      • 2.3 Comparison with jQuery.
      • 2.4 Homework
    • 3. A Flavor of Directives.
      • 3.1 v-show
      • 3.2 v-if
        • 3.2.1 Template v-if
      • 3.3 v-else
      • 3.4 v-if vs. v-show
      • 3.5 Homework
    • 4. List Rendering
      • 4.1 Install & Use Bootstrap
      • 4.2 v-for
        • 4.2.1 Range v-for
      • 4.3 Array Rendering
        • 4.3.1 Loop Through an Array
        • 4.3.2 Loop Through an Array of Objects
      • 4.4 Object v-for
      • 4.5 Filtered Results
      • 4.6 Ordered Results
      • 4.7 Custom Filter
      • 4.8 Homework
    • 5. Interactivity
      • 5.1 Event Handling
        • 5.1.1 Handling Events Inline
        • 5.1.2 Handling Events using Methods
        • 5.1.3 Shorthand for v-on
      • 5.2 Event Modifiers
      • 5.3 Key Modifiers
      • 5.4 Computed Properties
        • 5.4.1 Using Computed Properties to Filter an Array
      • 5.5 Homework
    • 6. Components
      • 6.1 What are Components?
      • 6.2 Using Components
      • 6.3 Templates
      • 6.4 Properties
      • 6.5 Reusability
      • 6.6 Altogether now
      • 6.7 Homework
    • 7. Class and Style Bindings
      • 7.1 Class binding
        • 7.1.1 Object Syntax
        • 7.1.2 Array Syntax
      • 7.2 Style binding
        • 7.2.1 Object Syntax
        • 7.2.2 Array Syntax
      • 7.3 Bindings in Action
      • 7.4 Homework
  • Consuming an API
    • 8. Preface
      • 8.1 CRUD
      • 8.2 API
        • 8.2.1 Download Book’s Code
        • 8.2.2 API Endpoints
    • 9. Working with real data
      • 9.1 Get Data Asynchronous
      • 9.2 Refactoring
      • 9.3 Update Data
      • 9.4 Delete Data
    • 10. Integrating vue-resource
      • 10.1 Overview
      • 10.2 Migrating
      • 10.3 Enhancing Functionality
        • 10.3.1 Edit Stories
        • 10.3.2 Create New Stories
        • 10.3.3 Store & Update Unit
      • 10.4 JavaScript File
      • 10.5 Source Code
      • 10.6 Homework
        • 10.6.1 Preface
        • 10.6.2 API Endpoints
        • 10.6.3 Your Code
    • 11. Pagination
      • 11.1 Implementation
      • 11.2 Pagination Links
      • 11.3 Homework
  • Building Large-Scale Applications
    • 12. ECMAScript 6
      • 12.1 ES6 Features
        • 12.1.1 Compatibility
        • 12.1.2 Variable Declarations
        • 12.1.3 Arrow Functions
        • 12.1.4 Modules
        • 12.1.5 Classes
        • 12.1.6 Default Parameter Values
    • 13. Advanced Workflow
      • 13.1 Compiling ES6 with Babel
        • 13.1.1 Installation
        • 13.1.2 Configuration
        • 13.1.3 Build alias
        • 13.1.4 Usage
        • 13.1.5 Homework
      • 13.2 Workflow Automation with Gulp
        • 13.2.1 Task Runners
        • 13.2.2 Installation
        • 13.2.3 Usage
        • 13.2.4 Watch
        • 13.2.5 Homework
      • 13.3 Module Bundling with Webpack
        • 13.3.1 Module Bundlers
        • 13.3.2 Webpack
        • 13.3.3 Installation
        • 13.3.4 Usage
        • 13.3.5 Automation
      • 13.4 Summary
    • 14. Mastering Single File Components
      • 14.1 The vue-cli
        • 14.1.1 Vue’s Templates
        • 14.1.2 Installation
        • 14.1.3 Usage
      • 14.2 Webpack Template
        • 14.2.1 Project Structure
        • 14.2.2 index.html
        • 14.2.3 Hello.vue
        • 14.2.4 App.vue
        • 14.2.5 main.js
      • 14.3 Forming .vue Files
        • 14.3.1 Nested Components
      • 14.4 Eliminating Duplicate State
        • 14.4.1 Sharing with Properties
        • 14.4.2 Global Store
    • 15. Swapping Components
      • 15.1 Dynamic Components
        • 15.1.1 component is
        • 15.1.2 Navigation
    • 16. Vue Router
      • 16.1 Installation
      • 16.2 Usage
      • 16.3 Nested routes
      • 16.4 Route Matching
        • 16.4.1 Named Routes
        • 16.4.2 Route Object
        • 16.4.3 Dynamic Segments
        • 16.4.4 Route Alias
        • 16.4.5 Route Go
        • 16.4.6 Filtering Transitions
        • 16.4.7 Homework
    • Closing Thoughts
    • Further Learning
      • Tutorials
      • Videos
      • Books
      • Open source projects

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub