Rewriting the Pomodoro application with single-file components

I hope you still remember and possibly even use the Pomodoro application that we developed in the first chapter of this book.

I would like to revisit it now and to do the same exercise we did in the previous section—define the components of the application and rewrite it using these components.

Let's have a look at our Pomodoro application. And now I am going to spoil you: I'll include a screenshot that already contains the kittens that are being shown during the resting time using http://thecatapi.com/api:

Rewriting the Pomodoro application with single-file components

The Pomodoro application in its Rest! state

There are some easily identifiable ...

Get Learning Vue.js 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.