Documentation ¶
Overview ¶
Package twembed contains an embedded copy of the TailwindCSS distribution. TODO explain how it's used and the idea is to only include this in a project if you're okay with adding the size to the resulting executable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dist ¶
type Dist struct{}
Dist implements tailwind.Dist
func New ¶
func New() Dist
New returns an instance that implements tailwind.Dist using data embedded in this package.
func (Dist) OpenDist ¶
func (d Dist) OpenDist(name string) (io.ReadCloser, error)
OpenDist implements the interface and returns embedded data.
func (Dist) PurgeKeyMap ¶
PurgeKeyMap returns a map of all of the possible keys that can be purged.
Click to show internal directories.
Click to hide internal directories.