Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get to work in Laravel 8. #135

Open
airliajsmith opened this issue Oct 1, 2020 · 1 comment
Open

Can't get to work in Laravel 8. #135

airliajsmith opened this issue Oct 1, 2020 · 1 comment

Comments

@airliajsmith
Copy link

airliajsmith commented Oct 1, 2020

I'm not sure I'm doing this correctly. I am trying to pass data from a Vue modal to a view, not the other way around.

I have added this to my controller after saving the new record:

    JavaScriptFacade::put([
        'customer' => $customer,
        'contact' => $contact,
    ]);

The modal window then closes, but I can't find the data.

Here are my changes to config\javascript.php:

'bind_js_vars_to_this_view' => 'dashboard/shared/footer',

@lironesamoun
Copy link

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants