Book Image

The Majesty Of Vue.js

By : Alex Kyriakidis, Kostas Maniatis
Book Image

The Majesty Of Vue.js

By: Alex Kyriakidis, Kostas Maniatis

Overview of this book

<p>Vue.js is a library to build interactive web interfaces. The aim is to provide the benefits of reactive data binding and composable view components with an API that is as simple as possible.</p> <p>This book will teach you how to efficiently implement Vue.js in your projects. It starts with the fundamentals of Vue.js to building large-scale applications. You will find out what components, filters, methods, and computed properties are and how to use them to build robust applications.</p> <p>Further on, you will become familiar with ES6, single file components, module bundlers, and workflow automation. The best way to learn to code is to write it, so there’s an exercise at the end of most of the chapters for you to solve and actually test yourself on what you have learned. You can solve these in order to gain a better understanding of Vue.js.</p> <p>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.</p>
Table of Contents (23 chapters)
The Majesty of Vue.js
Credits
About the Authors
www.PacktPub.com
Preface
2
Getting Started
8
Consuming an API – Preface
12
ECMAScript 6
15
Swapping Components
18
Closing Thoughts

ES6 features


ES6 has a lot of new features. We are going to review those that we will use in the next chapters. If you are interested in learning more about what is new in ES6, I highly recommend you the book Understanding ECMAScript 6 by Nicholas C. Zakas which is available on Leanpub (https://leanpub.com/understandinges6/). There is also an online version of the book for free available at https://leanpub.com/understandinges6/read.

Also, there are other useful resources and tutorials like the one on Babel (https://babeljs.io/docs/learn-es2015/), an article on tutsplus (https://goo.gl/Qna5gl), a blog post (https://goo.gl/wme4jX) by Nicholas C. Zakas again, and a ton of stuff around the web!

Compatibility

Unsurprisingly, support varies wildly from engine to engine, with Mozilla tending to lead the way. ES6 compatibility table (https://kangax.github.io/compat-table/es6/) is a useful start for establishing what EC6 features your browser does and doesn't support.

Note

If you're using Chrome most...