I recently saw this Vue.js snippet by Evan You on Twitter, and I don’t understand what the init attribute in the script tag does. I could not find anything about this on MDN or similar sites. The defer attribute is clear to me. Answer It’s explained in the repo Readme file in the Usage section : The init attribute tells