title: Get dynamic data from PHP to Vue.js
body: <p>I'm using PHP(CodeIgniter) to render a page built with vue cli.</p>
  
  <p>Usually, if I want to pass a value from php to javascript I would do something like this:</p>
  
  <pre><code>var page = '&lt;?php echo $page ?&gt;';
  </code></pre>
  
  <p>But since the page is built with vue and all the js minified and all its not possible.
  I need an alternative solution to get a variable in vue which is sent from php.</p>