Materialize datepicker doesn't work if I navigate to different page vue.js
问题 I am trying to implement a materialize datepicker in my vue.js project and so far I have gotten it to work as expected when the page initially loads and as long as I don't navigate to any other page it works perfectly. Soon as I do navigate to a different page then back to the page I have the date picker on it will no longer pop up the UI. I can see from doing some console logs that once addEventLister runs the initial time which is the time that datepicker works it never runs again even