Created
September 11, 2023 20:18
-
-
Save schtibe/e56862c28f2e8e38b4452ece7543f20e to your computer and use it in GitHub Desktop.
Use tailwind config in code
This file contains hidden or 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
import tailwindConfig from "../../tailwind.config"; | |
import resolveConfig from "tailwindcss/resolveConfig"; | |
const config = resolveConfig(tailwindConfig); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment