Description Usage Arguments See Also
View source: R/tailwind-init.R
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.
1 | tailwind_init(dir = pkg_inst("tailwind"), jit_mode = TRUE, overwrite = FALSE)
|
dir |
(pth) where the config files will be stored. |
jit_mode |
(flg) enable TailwindCSS jit mode |
overwrite |
(flg) whether or not to overwrite |
Other Tailwind CSS:
tailwind_assets()
,
tailwind_build()
,
tailwind_demo()
,
tailwind_install()
,
tailwind_run()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.