Learning Vue

Core Concepts and Practical Patterns for Reusable, Composable, Scalable User Interfaces

Paperback Engels 2023 1e druk 9781492098829
€ 76,35
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

Learn the core concepts of Vue.js, the modern JavaScript framework for building frontend applications and interfaces from scratch. With concise, practical, and clear examples, this book takes web developers step-by-step through the tools and libraries in the Vue.js ecosystem and shows them how to create complete applications for real-world web projects.

You’ll learn how to handle data communication between components with Pinia architecture, develop a manageable routing system for a frontend project to control the application flow, and produce basic animation effects to create a better user experience.

This book also shows you how to:
- Create reusable and lightweight component systems using Vue.js
- Bring reactivity to your existing static application
- Set up a project using Vite.js, a build tool for frontend project code management
- Build an interactive state management system for a frontend application with Pinia
- Connect external data from the server to your Vue application
- Control the application flow with static and dynamic routing using Vue Router
- Fully test your application using Vitest and Playwright

Specificaties

ISBN13:9781492098829
Trefwoorden:Web programming, Vue
Taal:Engels
Bindwijze:paperback
Aantal pagina's:400
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:29-12-2023
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Preface
Conventions Used in This Book
Using Code Examples
O’Reilly Online Learning
How to Contact Us
Acknowledgments

1. Welcome to the Vue.js World!
What Is Vue.js?
The Benefits of Vue in Modern Web Development
Installing Node.js
NPM
Yarn
Vue Developer Tools
Vite.js as a Builder Management Tool
Create a New Vue Application
File Repository Structure
Summary

2. How Vue Works: The Basics
Virtual DOM Under the Hood
The Layout Update Problem
What Is Virtual DOM?
How Virtual DOM Works in Vue
The Vue App Instance and Options API
Exploring the Options API
The Template Syntax
Creating Local State with Data Properties
How Reactivity in Vue Works
Two-Way Binding with v-model
Using v-model.lazy Modifier
Binding Reactive Data and Passing Props Data with v-bind
Binding to Class and Style Attributes
Iterating over Data Collection Using v-for
Iterating Through Object Properties
Make the Element Binding Unique with Key Attribute
Adding Event Listener to Elements with v-on
Handling Events with v-on Event Modifiers
Detecting Keyboard Events with Key Code Modifiers
Conditional Rendering Elements with v-if, v-else, and v-else-if
Conditional Displaying Elements with v-show
Dynamically Displaying HTML Code with v-html
Displaying Text Content with v-text
Optimizing Renders with v-once and v-memo
Registering a Component Globally
Summary

3. Composing Components
Vue Single File Component Structure
Using defineComponent() for TypeScript Support
Component Lifecycle Hooks
setup
beforeCreate
created
beforeMount
mounted
beforeUpdate
updated
beforeUnmount
unmounted
Afgekapt op 60 regels

Managementboek Top 100

€ 76,35
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Learning Vue