Source: medium.com

Laravel Blade Vue.js data

Category: Laravel

As a coder, I hate doing things twice. I googled for a simple and clean solution to pass parameters without making Ajax calls and rewriting the wheel ! Put all your parameters in JSON format inside a script tag with an ID which can be passed to a PROP of your component.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Community Partners