title: Read yaml file with vue.js from disk (not URL)
body: <p>In Vue.js I would like to read a YAML file from my filesystem (this file is not available online so can not be requested via URL), convert it to JSON and somehow <em>expose</em> it in a way that all components can access it. How can I do it? </p>
  
  <p>I should probably use <a href="https://github.com/nodeca/js-yaml" rel="nofollow noreferrer">js-yaml</a> but I can't find a way for it to work in Vue.js.</p>