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]-Set Vue prop's default to parent's options
- [Vuejs]-How to deploy vue.js and laravel appllication on shared hosting
Source:stackexchange.com