Description Usage Arguments See Also
View source: R/tailwind-assets.R
Include this in {htmltools}
tags to include the rendered Tailwind CSS
file in the current page so that it can be used.
1 2 3 4 5 6 7 8 |
input |
(pth) path to the input css file with tailwind directives |
config |
(pth) path to the config js file that dictates rendering |
output |
(pth) path to the output css file that can be linked |
prod |
(flg) whether this inclusion is in production |
vers |
(flg) version of the tailwind dependency, defaults to the hash digest of the current time |
build |
(flg) whether to build the tailwind CSS file; default is FALSE
if |
Other Tailwind CSS:
tailwind_build()
,
tailwind_demo()
,
tailwind_init()
,
tailwind_install()
,
tailwind_run()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.