title: Use i18n in both vuejs and blade.php
body: <p>I would like to use i18n in both blade.php and vuejs views. Is it possible?
  I already made the json file for i18n, it looks like this:</p>
  
  <pre><code>export default {
      "en": {
          "menu": {
               "home":"Home",
               "example":"Example"
          }
      }
  }
  </code></pre>
  
  <p>It works with vuejs but I wonder how to use it in laravel... Is this possible?</p>
  
  <p>Otherwise, is there any way to access a cookie in both laravel and vuejs, or do I need to use axios request for storing it and get it in vue? (I would like to store and read use the lang).</p>
  
  <p>Here is a blade.php view where I would like to use i18n</p>
  
  <pre><code>@if (Route::has('register'))
        &lt;li class="nav-item"&gt;
               &lt;a class="nav-link" href="{{ route('register') }}"&gt;{{ __('home.example') }}&lt;/a&gt;
        &lt;/li&gt;
  @endif
  </code></pre>
  
  <p>In vue.js files, all I do is 
  {{ $t('home.example') }}</p>
  
  <p>I use this library: <a href="https://github.com/kazupon/vue-i18n" rel="nofollow noreferrer">https://github.com/kazupon/vue-i18n</a></p>
  
  <p>Thank you very much!</p>