-
Notifications
You must be signed in to change notification settings - Fork 6
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
how to use it? #3
Comments
The documentation does give an example at https://github.com/rcrowe/Turbo#pjax. You install the module and the javascript component. In the example "$(document).pjax('.js-pjax', 'body');", it's saying any link with css class "js-pjax" will be a turbolink request which will replace the contents of . |
i am getting type error pjax is not a function |
Did you install the Pjax js plugin also? Turbo only handles the backend to serve partials for the pjax plugin. |
how to install Pjax with composer |
Pjax itself is a front-end jquery plugin, I think you can't install it with composer. You have to include as any other javascript file, like jquery or if you are using bower. |
okay :) |
in front end Pjax is working perfectly but in server side it is not working. |
I am new with Turbo.
How to use it?
Please example for me.
Thanks.
The text was updated successfully, but these errors were encountered: