title: Playing a sound with Vue.js
body: <p>How can I play a sound with Vue.js?</p>
  
  <p>Seems like I cant just do the regular way.</p>
  
  <pre><code>  import Vue from 'vue'
    import AppView from './components/App.vue'
  
    console.log('Play outside of vue')
    var audio = new Audio('file.mp3')
    audio.play()
  
    new Vue({
      el: '#root',
      mounted () {
         console.log('Will it play here?? lol')
         var audio = new Audio('file.mp3')
         audio.play()
      }, 
      render: h =&gt; h(AppView)
    })
  </code></pre>
  
  <p>As it says Audio is not defined?
  Do I have to import it somehow?  Is there a specific vue package for this? or npm package?</p>
  
  <p>I really don't understand, I though Audio was just vanilla javascript?</p>