The majesty of Vue.js /
Create fast front-end applications and increase the performance of your existing projects with Vue.js integrationAbout This Book Learn about computed properties, components, filters, routing, ES6, and workflow automation This book will show you how easy Vue.js is to grasp, and that its integration c...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2016.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Credits; About the Authors; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Install Vue.js; Standalone version; Downloading from vuejs.org; Include from CDN; Downloading using NPM; Downloading using Bower; Chapter 2: Getting Started; Hello Vue; Two-way binding; Comparison with jQuery; Homework; Chapter 3: A Flavor of Directives; v-show; v-if; Template v-if; v-else; v-if versus v-show; Homework; Chapter 4: List Rendering; Installing and using Bootstrap; v-for; Range v-for; Array rendering; Looping through an array; Looping through an array of objects; Object v-for
- Filtered resultsOrdered results; Custom filter; Homework; Chapter 5: Interactivity; Event handling; Handling events inline; Handling events using methods; Shorthand for v-on; Event modifiers; Key modifiers; Computed properties; Using computed properties to filter an array; Homework; Chapter 6: Components; What are Components?; Using Components; Templates; Properties; Reusability; Altogether now; Homework; Chapter 7: Class and Style Bindings; Class binding; Object syntax; Array syntax; Style binding; The object syntax; The array syntax; Bindings in action; Homework
- Chapter 8: Consuming an API
- PrefaceCRUD; API; Download book's code; API endpoints; Chapter 9: Working with Real Data; Geting data asynchronously; Refactoring; Updating data; Deleting data; Chapter 10: Integrating vue-resource; Overview; Migrating; Enhancing functionality; Editing stories; Creating new stories; Storing and updating unit; JavaScript file; Source code; Homework; Preface; API endpoints; Your code; Chapter 11: Pagination; Implementation; Pagination links; Homework; Chapter 12: ECMAScript 6; ES6 features; Compatibility; Variable declarations; let declarations
- Constant declarationsArrow functions; Modules; Classes; Default parameter values; Chapter 13: Advanced Workflow; Compiling ES6 with Babel; Installation; Configuration; Build alias; Usage; Homework; Workflow automation with Gulp; Task runners; Installation; Usage; Watch; Homework; Module bundling with Webpack; Module bundlers; Webpack; Installation; Usage; Automation; Summary; Chapter 14: Mastering Single File Components; vue-cli; Vue's templates; Installation; Usage; Webpack template; Project structure; index.html; Hello.vue; App.vue; main.js; Forming .vue files; [Nested components]
- Nested componentsChapter 15: Swapping Components; Dynamic components; The is component; Navigation; Chapter 16: Vue Router; Installation; Usage; Nested routes; Route matching; Named routes; Route object; Dynamic segments; Route alias; Route go; Filtering transitions; Homework; Chapter 17: Further Learning; Tutorials; Videos; Books; Open source projects; Chapter 18: Closing Thoughts; Index