Currently, I am incorporating VueJS with the Vue Router and a JavaScript uniform module to enhance the appearance of select boxes, checkboxes, and other form elements by wrapping them in a new element for better styling options.
How can I efficiently apply this module after changing routes and ensuring that my components are properly mounted?
I have considered manually initializing the module within the mounted function of each component/view, but this approach seems impractical. Additionally, setting up a route watcher on the Vue instance somewhat works, although it triggers before my components are fully mounted, resulting in an inability to modify the necessary HTML elements just yet.
What would be the recommended best practice solution to tackle this issue within VueJS?