• Motch Julien's avatar
    Update master.blade.php · 3f16b99a
    Motch Julien authored
    Small addition, for some vuejs, I need to pass data on the mount method, but those date need to be available before the  '/js/app.js', if not I can't access the data.
    
    For instance in a create/edit/index.blade.php I have
    
    @section('scripts-before')
        <script>
          window.Etablissements = {
            villes: {!! json_encode($data) !!},
          };
        </script>
    @stop
    3f16b99a
Name
Last commit
Last update
..
master.blade.php Loading commit data...