-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
-
Hi, I'm having this issue with v4.1 i don't know what to do with my tailwind installation. When i put my php files together on the src/output.css it's working but if place my php file outside where the Tailwind/src/output.css it's not working anymore is there anyone who can fix this?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 2 replies
-
Consider providing a git repo that reproduces the issue and we can take a look for you.
Beta Was this translation helpful? Give feedback.
All reactions
-
https://github.com/Exodus102/tailwind-configuration.git
here is it man i hope to fix this
Beta Was this translation helpful? Give feedback.
All reactions
-
Conventionally, package.json
, package-lock.json
and node_modules
would be in the root of the project. Thus, consider:
- Moving
package.json
andpackage-lock.json
besideindex.php
- Removing
Tailwind/node_modules
- Rerun
npm install
- Update the CSS paths in the
scripts.dev
command
Otherwise if you want to keep those files where they are, use source()
to redefine the base path:
@import "tailwindcss" source("../../");
Beta Was this translation helpful? Give feedback.