Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Vue.js 3 for Beginners
Vue.js 3 for Beginners

Vue.js 3 for Beginners: Learn the essentials of Vue.js 3 and its ecosystem to build modern web applications

eBook
€15.99 €23.99
Paperback
€20.98 €29.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

Vue.js 3 for Beginners

Exploring the Book’s Layout and Companion App

Vue.js is an enormously popular framework in the JavaScript (JS) ecosystem. In recent years, it has gained lots of popularity thanks to its simplicity, its great documentation, and, finally, its fantastic community. If you are starting web development now, or are transitioning from a different framework or language, Vue.js is a great choice.

Before we can jump into the main content of the book, it is important to learn how the book is structured and what methods will be used to explain the different topics of this fantastic framework.

To simplify the learning of Vue.js and make the book more interesting and interactive, the book has been built around the creation and enhancement of a Companion App.

Vue.js 3 for Beginners is going to focus mainly on the framework and its core libraries, and it will not cover basic development knowledge such as HTML, CSS, JS, and Git. To understand the content of this book, basic knowledge...

Technical requirements

The application that accompanies the book has been built using free software and APIs and will not require you to purchase anything. However, there are some specific technical requirements needed for you to follow along:

  • Visual Studio Code or another equivalent IDE (integrated development Environment)
  • Volar Visual Studio code extension
  • A browser updated to the latest version (I suggest Chrome or Firefox)
  • Node 16+
  • GIT or a Git GUI (Graphic user interface) such as GitKraken installed on your machine

The companion app

Learning a new language or framework is not an easy task. There are plenty of free resources, such as documentation, blogs, and YouTube videos on the internet, but I believe learning a new tech requires practice, and there is no better way to achieve this than by building a production-ready, performant, scalable social media application together.

The application is going to be very similar to the social media platform X (formerly Twitter). We will start from a clean canvas and slowly add more features and functionality until the app is fully working and ready to be added to your portfolio and showcased at your next job interview.

Each chapter will have a set of sections that will help you navigate the book. This will not only ensure that you can always follow along and have a clear understanding of the scope of the chapter, but it also allows you to use the book as a reference after you have read it all and allows you to jump to a specific chapter if you need...

The core areas of a web application

The JS ecosystem is not shy of frameworks and libraries, but even with this extensive choice, they mostly share the same core values and areas. These are the core parts of a web application and no matter which framework you use to write your application, you will have to know this and have a basic understanding of what they mean.

The pillars of a web application are as follows:

  • User interface (UI): This refers to the elements displayed on the screen from which a user can interact. In simple words, anything you can see or interact with on the internet is part of the UI. This core area of web development is usually achieved with basic HTML/CSS, vanilla JS (that is a different way to say plain JS), or a framework such as React, Vue, or Angular. In our case, this will be achieved using Vue.js 3.
  • Data fetching: Data fetching is at the core of any web application. No matter how small your site is, it is going to require you to fetch some...

Component-based architecture

We have reached the final section of our introductory discussion and we are almost ready to start coding. This section is going to introduce the concept of component-based architecture. Even if you are already familiar with this topic, I suggest you continue reading this chapter as it will support some of the decisions we will make later in the course of the book.

In this section, we are going to cover how web development worked before this concept was introduced and we will then discuss how component-based architecture has shaped the web development industry as we know it.

One page at a time

If you have been a developer for as long as I have been, you have probably worked with languages and frameworks that were not flexible in the way the pages were defined and developed. Using .NET and PHP a few years ago would have meant that each web page was created using a single file (disclaimer: some languages had the definition of “partials”...

Summary

It is now the end of the chapter and at this stage, you should have gained some knowledge of what we will achieve in this book and the methods that we will be using.

We have learned about our Companion App and what that will include. We have quickly touched upon the chapters’ structure and how they will support you in your learning journey, and we have finally introduced important topics such as component-based architecture, atomic design, and the core areas of web development that are the foundation of any frontend project.

In the next chapter, we will start to learn about the foundation of Vue.js and its core fundamentals and start to give life to our Companion Application.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Discover best practices for building scalable and performant Vue.js applications
  • Learn the basics of component-based architecture
  • Familiarize yourself with Vue.js core libraries and ecosystem
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

Discover why Vue.js is a must-learn JavaScript framework for aspiring developers. If you’re a beginner fascinated by Vue.js and its potential, then this book will show you how the progressive and versatile framework can help you build performant applications. Written by an accomplished software architect with over 12 years of experience, Vue.js 3 for Beginners provides a solid foundation in Vue.js and guides you at every step to create a robust social media application, component by component. Starting with a clean canvas using plain HTML and CSS, you’ll learn new topics to build your application incrementally. Beyond the core features, you’ll explore crucial parts of the Vue.js ecosystem, such as state management with Pinia, routing with Vue Router, and testing with Vitest, and Cypress. The structured GitHub repository ensures a smooth transition from one chapter to the next, offering valuable insights into advanced topics, techniques, and resources. This book is designed to serve as a practical reference guide, allowing you to quickly revisit specific topics when needed. By the end of the book, you’ll have built a strong understanding of Vue.js and be ready to build simple applications effortlessly.

Who is this book for?

Vue.js for Beginners is for aspiring web developers, students, hobbyists, or anyone who wants to learn Vue.js from scratch and is eager to foray into front-end development using this modern and popular framework. Basic knowledge of HTML, CSS, and JavaScript is required to fully grasp the content of this Vue.js book.

What you will learn

  • Gain practical knowledge of the Vue.js framework
  • Deepen your understanding of Pinia, Vue Router, validation libraries, and their integration with Vue.js applications
  • Explore the core concepts of Vue.js, including components, directives, and data binding
  • Create scalable, maintainable applications from scratch
  • Build applications using the script setup and the Composition API
  • Debug your applications with the Vue debugger tool

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 06, 2024
Length: 302 pages
Edition : 1st
Language : English
ISBN-13 : 9781805123293
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Sep 06, 2024
Length: 302 pages
Edition : 1st
Language : English
ISBN-13 : 9781805123293
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 69.96 87.97 18.01 saved
Vue.js 3 for Beginners
€20.98 €29.99
Vue.js 3 Design Patterns and Best Practices
€29.99
Full-Stack Web Development with TypeScript 5
€18.99 €27.99
Total 69.96 87.97 18.01 saved Stars icon

Table of Contents

20 Chapters
Part 1: Getting Started with Vue.js Chevron down icon Chevron up icon
Chapter 1: Exploring the Book’s Layout and Companion App Chevron down icon Chevron up icon
Chapter 2: The Foundation of Vue.js Chevron down icon Chevron up icon
Part 2: Understanding the Core Features of Vue.js Chevron down icon Chevron up icon
Chapter 3: Making Our HTML Dynamic Chevron down icon Chevron up icon
Chapter 4: Utilizing Vue’s Built-In Directives for Effortless Development Chevron down icon Chevron up icon
Chapter 5: Leveraging Computed Properties and Methods in Vue.js Chevron down icon Chevron up icon
Chapter 6: Event and Data Handling in Vue.js Chevron down icon Chevron up icon
Chapter 7: Handling API Data and Managing Async Components with Vue.js Chevron down icon Chevron up icon
Part 3: Expanding Your Knowledge with Vue.js and Its Core Libraries Chevron down icon Chevron up icon
Chapter 8: Testing Your App with Vitest and Cypress Chevron down icon Chevron up icon
Chapter 9: Introduction to Advanced Vue.js Techniques – Slots, Lifecycle, and Template Refs Chevron down icon Chevron up icon
Chapter 10: Handling Routing with Vue Router Chevron down icon Chevron up icon
Chapter 11: Managing Your Application’s State with Pinia Chevron down icon Chevron up icon
Chapter 12: Achieving Client-Side Validation with VeeValidate Chevron down icon Chevron up icon
Part 4: Conclusion and Further Resources Chevron down icon Chevron up icon
Chapter 13: Unveiling Application Issues with the Vue Devtools Chevron down icon Chevron up icon
Chapter 14: Advanced Resources for Future Reading Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Most Recent
Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(6 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Most Recent

Filter reviews by




Cara Oct 31, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
"Vue.js for Beginners" is an excellent introduction to this popular framework! The author breaks down the basics clearly, making it super accessible for newcomers. I loved the hands-on examples that allow you to practice as you go.The book does a fantastic job of covering the Vue.js fundamentals such as the reactivity system. It also thoroughly covers key external packages including Vue Router and Pinia which is super helpful for building more complex apps.Overall, it’s a great resource for anyone looking to get started with Vue.js. I highly recommend it!
Amazon Verified review Amazon
Ari Oct 29, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is truly for beginners. I have been using Vue.js for a while now and have recommended it to colleagues and friends. The way this book breaks down everything you need to understand from technical components to all of the basic functionality of the Vue.js framework is absolutely perfect.My daughter is interested in learning programming and was reading along with me asking questions that were easy for me to explain due the the thoroughness of the information provided to the readers.Something I enjoyed quite a bit was the information on the unit testing with ViTest and the client side validation with VeeValidate. Testing is such an important part of development and I was excited to see that in this book!
Amazon Verified review Amazon
Bilal H. Oct 09, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Simone, an early adopter and expert in Vue.js, has crafted an excellent introductory guide to Vue 3 with his book "Vue.js 3 for Beginners". This comprehensive resource takes readers on a journey from the fundamentals of Vue.js to building a fully functional social media application, providing a hands-on approach to learning this popular JavaScript framework.The book is thoughtfully structured, starting with the basics of Vue.js and gradually introducing more complex concepts. One of the standout features of Simone's writing is his simple and straightforward style, which makes even complex Vue topics easily digestible for beginners. This approach ensures that newcomers to Vue can grasp concepts quickly and confidently.Key strengths of the book include:- Accessible writing: Simone's clear and straightforward style makes Vue.js concepts easy to understand for beginners.- Practical approach: The book revolves around building a real-world application, allowing readers to immediately apply what they learn.- Tips and Tricks: Throughout the book, Simone includes numerous "Tips and Tricks" notes, offering valuable insights into best practices for using Vue. These nuggets of wisdom, drawn from his extensive experience, provide readers with practical guidance that goes beyond mere syntax.- Comprehensive coverage: It covers essential Vue 3 concepts, including components, directives, computed properties, and lifecycle hooks.- Ecosystem exploration: The book doesn't just focus on Vue core, but also introduces important ecosystem tools like Vue Router, Pinia for state management, and testing with Vitest and Cypress.- Modern practices: It emphasizes the Composition API, preparing readers for current Vue 3 development practices.- Debugging and tooling: The book includes a chapter on using Vue Devtools, an essential skill for Vue developers.While the book excels in many areas, it could benefit from more advanced topics for intermediate developers. However, this aligns with its target audience of beginners.In conclusion, "Vue.js 3 for Beginners" is an invaluable resource for those starting their journey with Vue 3.Simone has created a must-read guide for aspiring Vue developers. Its practical approach, combined with clear explanations, real-world examples, and insightful best practices, makes it an excellent choice for anyone looking to master Vue 3.
Amazon Verified review Amazon
Mark Shenouda Oct 03, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Simone Cuomo's "Vue.js 3 for Beginners" is an exceptional resource for anyone looking to break into the world of front-end development with Vue.js. This book takes a practical, hands-on approach, guiding readers through the essentials of Vue.js 3 and its ecosystem while building a real-world social media application.Here are some of the book's standout features:● Learning by Doing: The book centers around the development of a companion app, providing practical application of theoretical concepts and demonstrating how different Vue.js components work together.● Beginner-Friendly: Cuomo explains complex topics in a clear and concise manner, making it accessible for readers with limited experience in JavaScript frameworks. He assumes basic knowledge of HTML, CSS, and JavaScript, and gradually introduces more advanced techniques as the reader progresses.● Real-World Examples: The book is filled with practical examples that illustrate key concepts and best practices. Cuomo often presents multiple approaches to solving a problem, highlighting the advantages and disadvantages of each, which is very helpful for a beginner.● Experienced Author: Cuomo's deep expertise in Vue.js, acquired over seven years of experience, is evident throughout the book. He has first-hand experience in building and migrating complex Vue.js applications, and this practical knowledge translates into clear and effective teaching.What sets this book apart is Cuomo's engaging teaching style and dedication to mentorship. He doesn't just explain the "what" but also the "why," making the learning process enjoyable and effective. By the end of this book, readers will not only have a strong grasp of Vue.js fundamentals but will also have built a functional application that they can use as a foundation for their own projects. I highly recommend this book to anyone looking to add Vue.js to their skillset.
Amazon Verified review Amazon
Gavin williams Sep 26, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I finished my Computer Science degree and decided to continue my studies by focusing on Vue.js as my framework of choice.I bought this book as I have seen Simone around twitter and read his blog posts during my studies.I had some basic Vue knowledge and I hoped the book would provide me with a bit more information about the framework to allow me to get some freelance work.I can clearly say that the book is very easy to read. It follows a very simple structure and provides you with real life examples that really help make sense of the different topics.Overall I am very satisfied with the book and will continue to use it as a reference for my future freelancers job!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.