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

doesn't work for laravel 7 #133

Open
da-production opened this issue Apr 24, 2020 · 4 comments
Open

doesn't work for laravel 7 #133

da-production opened this issue Apr 24, 2020 · 4 comments

Comments

@da-production
Copy link

i did all the steps and it doesn't work

@mohitpawar10
Copy link

@da-production Can you put logs? What's the issue? Screenshot, system information and all... We can't debug without that.

@mateo2181
Copy link

I am using Laravel 7 and it's working. @da-production remember by default variables are loaded in footer view/partialview.

@amitavadeb
Copy link

even i am struggling to make it work in v7. in v5, it worked great. it keeps saying: foo is undefined.

@amrography
Copy link

You have to set in javascript.php the correct path for the shared view file in your layout.
ex:

bind_js_vars_to_this_view = 'app.include.myscriptsview'

the view app.include.myscriptsview should be there. And remember to remove the cache after your changes:

php artisan config:clear

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

5 participants