Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
tailwind-crawler/.env.example
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29 lines (20 sloc)
1.05 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is given to the crawler, and can be used to configure various settings | |
# At the time of writing, killman/tailwindui-crawler supports the following. | |
# However, new features should also be supported, assuming you are using an up-to-date version of the crawler. | |
HTMLMODE=alpine # alpine | comments | |
BUILDINDEX=1 # 0 | 1 | |
TRANSFORMERS=addTailwindCss,prefixSrc,useInter,changeColor,changeLogo,prefixClasses,convertReact,stripAlpine | |
# addTailwindCss | |
ADDTAILWINDCSS_URL=http://localhost/path/to/css # defaults to twui CDN | |
# convertVue | |
VUE_OUTPUT=$OUTPUT/vue # path to save Vue files (defaults to $OUTPUT) | |
# convertReact | |
CONVERTREACT_OUTPUT=$OUTPUT/react # path to save React files (default to $OUTPUT) | |
# stripAlpine | |
STRIPALPINE_OUTPUT=$OUTPUT/no-alpine # path to save stripped HTML files (REQUIRED) | |
# changeColor | |
CHANGECOLOR_TO=red # name of color to change from indigo | |
# changeLogo | |
CHANGELOGO_URL=http://localhost/path/to/logo # URL of logo (defaults to generic tailwind logo) | |
# prefixClasses | |
PREFIXCLASSES_PREFIX=tw- # adds prefix to all tailwind classes |