Название: Learning Vue: Core Concepts and Practical Patterns for Reusable, Composable, Scalable User Interfaces (Early Release) Автор: Maya Shavin Издательство: O’Reilly Media, Inc. Год: 2023-01-17 Страниц: 99 Язык: английский Формат: pdf, epub (true), mobi Размер: 10.1 MB
Learn the core concepts of Vue.js, the modern javascript framework for building frontend applications and interfaces from scratch. Through concise, practical, and clear examples, this book takes web developers step-by-step through the tools and libraries in the Vue.js ecosystem and how to use them to create complete applications for real-world web projects.
Author Maya Shavin explains how to create a complete application development process using a variety of tools in the Vue.js library. 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.
Initially released in 2014, Vue.js has experienced rapid adoption, especially in 2018. Vue is considered a well-loved framework within the developer community, thanks to its ease of use and flexibility. If you are looking for a great tool to build and ship excellent performant web applications to the end-users, Vue.js probably is the answer. This chapter highlights the core concepts of Vue.js and walks you through the valuable tools you need for your Vue.js development environment. It also explores helpful tools that make your Vue.js development process more manageable. By the end of the chapter, you will have a working environment with a simple Vue.js application ready to start your journey in learning Vue.js.
One of the significant advantages of Vue is its well-written and easy-to-understand documentation. Besides, the ecosystem and supporting community built around Vue, such as Vue-Router, Vuex, and Pinia, is efficient in helping developers to set up and run their projects at the minimum effort. Also, the APIs of Vue are straightforward and familiar to anyone who has worked with AngularJS or jQuery before. Its powerful template syntax minimizes the learning effort required and makes it easier to work with data or listen to DOM events in your application.
Another significant benefit Vue offers is its lightweight size. The size of a framework is a substantial aspect of the application’s performance, especially the initial loading time on delivery. At the time of writing, Vue stands as the fastest and most lightweight framework (~10kB in size). This advantage results in less time-consuming downloading and better run-time performance from a browser perspective.
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