[Vuejs]-Forcing Vue component to re-render

0👍

If the angular component is inside a vue component, you can manually compile it using $compile and insert it to where you want it to be in the mounted hook. This way the angular component is re-rendered every time the vue component is created. You may also need to clean it up in beforeDestroy hook (calling $scope.$destroy()).

It’s probably not worth the trouble to mix these two frameworks.

Leave a comment