Add `content` folder to tailwind paths by default
See original GitHub issueIs your feature request related to a problem? Please describe.
When using @nuxt/content
, the content/
folder will not be checked by Tailwind’s JIT engine by default.
Describe the solution you’d like
That it will be checked and classes will be generated
Describe alternatives you’ve considered
Adding it manually which is error-prone 🙈
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Content Configuration - Tailwind CSS
Using relative paths. By default Tailwind resolves non-absolute content paths relative to the current working directory, not the tailwind.config.js file.
Read more >config.content should be resolved relative to the config file for ...
Having tailwind.config.js in one of the project doesn't resolve relative paths correctly after updating to v3. One has to provide full path from ......
Read more >How does the configuration work for the content section in ...
Im setting up tailwind in a react project bundled ...
Read more >Styling: Tailwind CSS - Next.js beta docs
Inside tailwind.config.js , add paths to the files that will use Tailwind CSS class ... export default function Page() { return ( <h1...
Read more >How To Use Tailwind CSS With React | by Sebastian - Medium
Step 1: Creating Your React Project · Step 2: Install Tailwind CSS · Step 3: Generate Configuration Files · Step 4: Configure Path...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Interesting! I’ll have a deeper look once again and report back ☺️
Actually it should be added by default, you can test with running
yarn dev
@manniLSee https://github.com/nuxt/content/blob/005fdfd19aa9658f821cb64a868d7f4d09582e1f/src/module.ts#L594-L597