title: Can't pass associative array to vue
body: <p>I have array like this.</p>
  
  <pre><code>$array = ['a' =&gt; 1, 'b' =&gt; 2];
  </code></pre>
  
  <p>I want to pass it to Vue But it can not.</p>
  
  <pre><code>&lt;my-component :array="'{!! json_encode($array) !!}'"
  &gt;&lt;/my-component&gt;
  </code></pre>
  
  <p>But the output is show like this in html.</p>
  
  <blockquote>
    <p>":1,"b":2}'"=""></p>
  </blockquote>