How would I go about having a function called with beforeEnter pass data to the corresponding route component(s)?
beforeEnter
The purpose of beforeEnter in this case is