tailwind_init: Initialize Tailwind Configs

Description Usage Arguments See Also

View source: R/tailwind-init.R

Description

The R package will store the PostCSS config, the Tailwind Config, and the source directory within the project, while keeping the node machinery outside of the package. This initializes those configs so that you can run tailwind_build() easier.

Usage

1
tailwind_init(dir = pkg_inst("tailwind"), jit_mode = TRUE, overwrite = FALSE)

Arguments

dir

(pth) where the config files will be stored.

jit_mode

(flg) enable TailwindCSS jit mode

overwrite

(flg) whether or not to overwrite

See Also

Other Tailwind CSS: tailwind_assets(), tailwind_build(), tailwind_demo(), tailwind_install(), tailwind_run()


tjpalanca/tailwind.R documentation built on Dec. 23, 2021, 10:59 a.m.