Vue. js 3 Design Patterns and Best Practices
by Garaguso, Pablo David;Zander, Olaf;
English | 2023 | ISBN: 1803238070 | 296 pages | True PDF | 16.44 MB
by Garaguso, Pablo David;Zander, Olaf;
English | 2023 | ISBN: 1803238070 | 296 pages | True PDF | 16.44 MB
Let industry experts guide you on your journey to becoming a Vue.js developer with the help of practical projects and fun exercises
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Work through mini projects, exercises, and activities to learn Vue.js in a practical way
- Create dynamic components and user interfaces that are fast and intuitive
- Find out how you can get the most out of the Vue.js 3 framework and build an end-to-end project
Book Description
Are you looking to use Vue.js 3 for building web apps but don't know where to begin?
Frontend Development Projects with Vue.js 3 will help you get to grips with the core concepts of this JavaScript framework using practical examples that simulate real-world web projects. With this updated edition, you'll experience all aspects of the new and improved Vue.js 3 as you work on mini projects such as a chat interface, a shopping cart, a price calculator, a to-do app, and a profile card generator for storing contact details. These realistic projects are presented as bite-size exercises that you can enjoy even as you challenge yourself.
Throughout the book, you'll discover how to manage data in Vue components, define communication interfaces between components, and handle static and dynamic routing to control application flow. You'll also work with Vite and Vue DevTools and learn how to handle transition and animation effects for an engaging user experience. Finally, you'll see how to test your app and deploy it to the web.
By the end of this Vue.js book, you'll have the skills that enable you to work like an experienced Vue developer to build professional apps that can be used by others and have the confidence to tackle real-world frontend web development problems.
What you will learn
- Set up a development environment and start your first Vue.js 3 project
- Modularize a Vue application using component hierarchies
- Use external JavaScript libraries to create animations
- Share state between components and use Pinia for state management
- Work with APIs using Pinia and Axios to fetch remote data
- Validate functionality with unit testing and end-to-end testing
- Get to grips with web app deployment
Who this book is for
This book is designed for Vue.js beginners. Whether this is your first JavaScript framework, or if you're already familiar with React or Angular, this book will get you on the right track. To understand the concepts explained in this book, you must be familiar with HTML, CSS, JavaScript, and Node package management.
Table of Contents
- Starting Your First Vue Project
- Working with Data
- Vite and Vue Devtools
- Nesting Components (Modularity)
- Composition API
- Global Component Composition
- Routing
- Animations and Transitions
- The State of Vue State Management
- State Management with Pinia
- Unit Testing
- End-to-End Testing
- Deploying Your Code to the Web