Create default vue 2 project using vue create, and start the project.
Add console.log inside HelloWorld.vue mounted().
Change something inside template or style and component will re-render and console.log will be triggered.
What is expected?
Component state should be preserved and mounted should not be called on save inside template or style. Component should only re-render on save inside Githubissues.
Githubissues is a development platform for aggregating issues.
Version
5.0.1
Environment info
Steps to reproduce
Create default vue 2 project using vue create, and start the project. Add console.log inside HelloWorld.vue mounted(). Change something inside template or style and component will re-render and console.log will be triggered.
What is expected?
Component state should be preserved and mounted should not be called on save inside template or style. Component should only re-render on save inside Githubissues.