Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this book
About the author
About the cover illustration
1. Getting to know Vue.js
Chapter 1. Introducing Vue.js
1.1. On the shoulders of giants
1.1.1. The Model–View–Controller pattern
1.1.2. The Model–View–ViewModel pattern
1.1.3. What’s a reactive application?
1.1.4. A JavaScript calculator
1.1.5. A Vue calculator
1.1.6. Comparison of JavaScript and Vue
1.1.7. How does Vue facilitate MVVM and reactivity?
1.2. Why Vue.js?
1.3. Future thoughts
Summary
Chapter 2. The Vue instance
2.1. Our first application
2.1.1. The root Vue instance
2.1.2. Making sure our application is running
2.1.3. Displaying something inside our view
2.1.4. Inspecting properties in Vue
2.2. The Vue lifecycle
2.2.1. Adding lifecycle hooks
2.2.2. Exploring the lifecycle code
2.2.3. Keeping the lifecycle code, or not
2.3. Displaying a product
2.3.1. Defining product data
2.3.2. Marking up the product view
2.4. Applying output filters