- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech

Build a Reading List Application With Vue.js
In this code lab, you'll follow instructions to build a reading list application with Vue.js 2.x. You'll create multiple components that are connected together to display a list of authors and book titles. Finally , you'll create a form that adds new books to the list.

Lab Info
Table of Contents
-
Challenge
Creating the BookList Component
In this Lab you’ll follow along with our instructions and build a reading list application with Vue.js 3.x. You'll create multiple components that are connected together to display a list of authors and book titles, and you'll create a form that adds new books to the list.
In this module you'll write code to create a Vue component called BookList that displays a list of book titles and authors. ### Solution The solution can be found in the
solution
directory. -
Challenge
Looping Through a List of Books
In this module you'll write code that reads a list of book titles and authors from an array and displays them in a Vue component.
-
Challenge
Creating a Child Component
In this module you'll refactor a BookList component into two components - BookList and BookItem.
-
Challenge
Connecting BookItem as a Child Component of BookList
In this module you'll connect a child BookItem component to a parent BookList component.
-
Challenge
Creating a BookForm Component
In this module you'll create a BookForm component that calls a method on submit that adds a new title and author to an array of books and updates the display. After you've completed the above tasks, run
npm run dev
in your Terminal tab, and then switch to and refresh the Web Browser tab to view your app.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.