DEV Community

Discussion on: A simple way to keep your Vue page title in sync with the router

Collapse
 
pastorsi profile image
Simon Measures

I'm wondering why you have Step 2 with the title "Add $route watcher in your App.vue" but then the tutorial text instructs us to put the watcher in main.vue. Could you please clarify this.

Collapse
 
krusenas profile image
Karolis

By main vue file I meant the file that contains the router view inside it. Some template generators that I used would name it App.vue :)