Credit to devdocs.io

vue 1

vue / API: Instance Methods / Lifecycle