Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Vue.js 3 for Beginners
  • Table Of Contents Toc
Vue.js 3 for Beginners

Vue.js 3 for Beginners

By : Simone Cuomo
4.6 (9)
close
close
Vue.js 3 for Beginners

Vue.js 3 for Beginners

4.6 (9)
By: Simone Cuomo

Overview of this book

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.
Table of Contents (21 chapters)
close
close
Lock Free Chapter
1
Part 1: Getting Started with Vue.js
4
Part 2: Understanding the Core Features of Vue.js
10
Part 3: Expanding Your Knowledge with Vue.js and Its Core Libraries
16
Part 4: Conclusion and Further Resources

Abstracting functionality using methods

Most of the components shown within tutorials and training, such as the ones shared in this book so far, always appear to be easy to read and extremely small, but this is not always the case. Components written in real applications can easily get bloated with logic and become very hard to read. Most of the time, this complexity is the result of multiple iterations and feature changes.

It is very important to try and keep the components as clean as possible. The easiest way to achieve this is by abstracting the logic from the HTML and moving it within <script>, but what can we use to simplify our components?

This is where methods come in handy. Methods are JavaScript functions that can be used within a Vue.js component instance. Methods can be described as helpers that allow you to perform an action within your component.

Methods could be used in a wide variety of cases, from fetching data from an API to validating user input, and...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Vue.js 3 for Beginners
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon