Is there any built-in functionality in Vue that allows for reloading a component
, in a way that the page won't be reloaded in the browser, and instead the component would be destroyed and recreated again? That said $router.go()
will not work in this case as it reloads the page in browser instead of the current DOM.
Update:
$forceUpdate()
also fails as I need everything to be re-initialized again (by letting Vue reinitializing the component instead of doing everything manually).