O'Reilly logo

The Majesty of Vue.js by Kostas Maniatis, Alex Kyriakidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Homework

Throughout this chapter, we analyzed a lot of things and it's been a while since we've assigned you some homework! To complete this one, you will probably need to review what he have already said .

The app you have to build is a mini Pokédex.

The home page will show a list of Pokémon categories, such as Fire , Water, and so on. From there, the user will be able to browse a category, view its Pokémon, and add new ones.

Your routes could be something like these:

Route

Description

/

List categories

/category/:name

Show category's Pokémons

/category/:name/pokemons/new

Add new Pokémon to category

Each transition must be logged to the console. For example, when the user decides to browse category Fire, a message has to be logged, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required