Watches and returns information about the current page route.

Usage

const {pageKey, path} = useRoute();
Did this answer your question?