Get to grips with the core fundaments of Vue.js 3 and learn how to build reliable, scalable, frontend applications from industry experts
Key Features
- Lean how to get the most out of the Vue.js 3 framework and build an end-to-end project
- Create dynamic components and user interfaces that are fast and intuitive
- Write easily scalable and reusable performant code
Book Description
Are you looking to use Vue.js 3 for web applications, but don't know where to begin? Front-End Development Projects with Vue.js 3 will help build your development toolkit and get ready to tackle real-world web projects, helping you get to grips with the core concepts of this JavaScript framework with practical examples and activities.
In this book, you'll work on mini-projects including a chat interface, a shopping cart and price calculator, a to-do app, and a profile card generator for storing contact details. These realistic projects are presented as bitesize exercises and activities, allowing you to challenge yourself in an enjoyable and attainable way.
Here, you'll discover how to handle 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 to create an engaging user experience. Later, you'll discover how to test your app and deploy it to the web.
By the end of this book, you'll gain the skills to start working like an experienced Vue developer, build professional apps that can be used by others, and have the confidence to and tackle real-world front-end 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)
- Compose component with Composition API in Vue 3x
- Global Component Composition
- Routing
- Animations and Transitions
- The state of Vue state management
- State vs Getters, Actions vs Mutations
- Fetching data using Vuex + Vuex lifecycle
- Store modules + file splitting
- Unit Testing
- End to End Testing
- Deploying code to production