[Vuejs]-Vue mdl componentHandler.upgradeDom() returning not a function

0👍

Found a fix for it based on a similar problem in react: basically did the webpack version of this, changed require to import componentHandler from 'exports?componentHandler!material-design-lite/material', and used the mounted hook same as before.

Still having an issue with code in nextTick not updating all child component elements, but moving all of it to another child component that had most of the buggy elements seems to have worked. Was formerly in App.vue.

Leave a comment