Documentation ¶ Index ¶ func AlpineJS() templ.Component func CSS(branch string) templ.Component func TwMerge(classes ...string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AlpineJS ¶ func AlpineJS() templ.Component Alpine returns script tags for Alpine.js func CSS ¶ func CSS(branch string) templ.Component CSS returns a link tag for the Goilerplate CSS If no branch is specified, it defaults to 'main' func TwMerge ¶ added in v0.21.1 func TwMerge(classes ...string) string TwMerge combines Tailwind classes and handles conflicts. Later classes override earlier ones with the same base. Example: "bg-red-500 hover:bg-blue-500", "bg-green-500" → "hover:bg-blue-500 bg-green-500" Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Click to show internal directories. Click to hide internal directories.