I do not know if there is a Laravel helper for this, but I will present a general approach.
One option is to store JSON data in a global variable and load the page, and then use it in js files.
Basically you need to generate some html similar to:
<script> window.myApp = window.myApp || {}; window.myApp.userData = { "firstName": "John", "lastName": "Doe" }; </script>
Then from javascript you can access the variable myApp.userData and use it when initializing the Vue component.
new Vue({ el: '#app', data: { userData: myApp.userData } });
Here is an example:
new Vue({ el: '#app', data: { userData: myApp.userData } });
<script> window.myApp = window.myApp || {}; window.myApp.userData = { "firstName": "John", "lastName": "Doe" }; </script> <div id="app"> Hello {{userData.firstName}} </div> <script src="https://unpkg.com/vue/dist/vue.js"></script>
source share