0👍
Lifecycle hooks relate to a Vue instance, not to a page load. Components are Vue instances, as is the main Vue instance that is typically called on the whole page.
The diagram gives a pretty good rundown of where each hook sits in relation to what is going on on the instance. In simple terms, created
happens before you have DOM to work with, and all the others happen after.
- [Vuejs]-How to select All checkboxes based on condition with Vue.js
- [Vuejs]-Vue.js combining objects at certain property
Source:stackexchange.com