Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 525 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 525 Bytes

silex-turbolinks

Service provider for Helthe's Turbolinks

Installation

Using composer: $ composer require flagshipcompany/silex-turbolinks

in your app.php add the following:

use Flagship\Components\Turbolinks\TurbolinksServiceProvider;

$app->register(new TurbolinksServiceProvider());
  • Copy the turbolink javascript provided by helthe in vendor/helthe/turbolinks/Resources/public/js/turbolinks.js to your public directory
  • Include it in the <head> tag.