Skip to content

Instantly share code, notes, and snippets.

@schtibe
Created September 11, 2023 20:18
Show Gist options
  • Select an option

  • Save schtibe/e56862c28f2e8e38b4452ece7543f20e to your computer and use it in GitHub Desktop.

Select an option

Save schtibe/e56862c28f2e8e38b4452ece7543f20e to your computer and use it in GitHub Desktop.
Use tailwind config in code
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