Documentation ¶
Overview ¶
tailo is a wrapper for the Tailwind CSS CLI that facilitates the download and of the CLI and the config file.
tailo is a wrapper for the Tailwind CSS CLI that facilitates the download and of the CLI and the config file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(options ...Option)
Build runs the Tailwind CSS CLI binary to build the CSS file and generate compiled CSS it expects to find the options in the config file.
Types ¶
type Option ¶
type Option func()
func UseBinaryPath ¶
UseBinaryPath sets the path to the TailwindCSS CLI binary otherwise it defaults to "bin/tailwindcss".
func UseConfigPath ¶
UseConfigPath sets the path to the TailwindCSS configuration file otherwise it defaults to "config/tailwind.config.js".
func UseInputPath ¶
UseInputPath sets the path to the input file, the one with @apply rules otherwise it defaults to "web/assets/application.css".
func UseOutputPath ¶
UseOutputPath sets the path to the output file, the one with compiled CSS otherwise it defaults to "web/public/application.css".