[Nuxt.js][Cookbook] Execute event when $route changes

Sometimes we need to check $route was changed. At that time this cookbook helps you.

Jangwook Kim

--

Problem

My application has Header component that has some list items.

In my Header, I'm tracking the status of list displaying using isActive property.

This is my part of the source code.

--

--

Jangwook Kim

Korean, live in Japan. The programmer. I love to learn something new things. I’m publishing my toy projects using GitHub. Visit https://www.jangwook.net.