typewindDocumentationDocumentation
GitHubGitHub (opens in a new tab)
  • Introduction
  • Installation
  • Usage
    • Normal Usage
    • Modifiers
    • Important Modifier
    • Arbitrary Values
    • Arbitrary Variants
    • Container Queries
  • Transpilers
    • Babel
    • SWC
  • Examples
    • Vite
    • NextJS
  • Advanced
    • Configuration
    • Escape Hatch
    • Custom Config File Path
    • Rem to Px
  • Documentation
    • Introduction
    • Installation
    • Usage
      • Normal Usage
      • Modifiers
      • Important Modifier
      • Arbitrary Values
      • Arbitrary Variants
      • Container Queries
    • Transpilers
      • Babel
      • SWC
    • Examples
      • Vite
      • NextJS
    • Advanced
      • Configuration
      • Escape Hatch
      • Custom Config File Path
        • Custom Config File Path
      • Rem to Px

On This Page

  • Custom Config File Path
Question? Give us feedback → (opens in a new tab)Edit this page
Documentation
Advanced
Custom Config File Path

Custom Config File Path

If you're using monorepo or your tailwind config file is just in another folder, you can use this feature to change the path

You'll just need to add the following config to your package.json file.

package.json
{
  "typewind": {
    "configPath": "./path/to/your/tailwind.config.cjs"
  }
}
Escape HatchRem to Px

MIT 2023 © Mokshit Jain.
Powered by