Skip to content

Files

Latest commit

f4f7349 · Apr 15, 2024

History

History

turbo

Description

This module wraps Turbo.

Installation

First, add the module import to your site or theme component's configuration's module section:

[module]
[[imports]]
path = "github.com/gohugoio/hugo-mod-jslibs/turbo/v8"

Then add the script source in the head section of your template (typically in the baseof.html):

<head>
{{ partialCached "jslibs/turbo/script-src.html" "-" }}
</head>

Note that the target src folder gets mounted to assets/jslibs/turbo/v8.