Vue lifecycle hooks are methods that allow you to add code at specific points in a component’s lifecycle. For example, created runs after an instance is created, and mounted runs after it’s added to the DOM.
created
mounted