Detect Router Change at Admin Dashboard

Hi, I write console.log(“Hello World”) at src/admin/app.ts (bootstrap). It’s working, show “Hello World” but when I jump from Welcome page to Media Library Page, not show “Hello World”.

So, I want to run “console.log” when switch router in Admin Dashboard.

Thanks

This topic has been created from a Discord post (1219833502158159913) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord