-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cake5 - Next #19
base: cake5
Are you sure you want to change the base?
Cake5 - Next #19
Conversation
I'm interested in getting Vite/TailwindCSS intergrated into a CakePHP project. |
@tyler36 You can integrate vite and tailwind perfectly fine with the current version of this plugin. I am using tailwind myself. This PR is for a new major release to fix some design issues. I was however not taking the time to look into this for some reasons. If you have specific questions about integrating tailwind, you could open a new issue or DM me on the CakePHP Slack. |
I made some modifications, but I was not able to finish.
ConfigDefaults
class and I used the Helper's default config method. (Helpers usesInstanceConfigTrait
)Environment::PRODUCTION
orEnvironment::DEVELOPMENT
. For detectorEnvironment::FROM_DETECTOR
can be used. Not tested yet. lolSince the environment is explicitly defined the
prodFilter
anddevFiles
is unnecessaryYou can add files (scripts/css) separetly to 'prod' or 'env' or 'both'
webroot_src
toresources
TODO:
If you think is too much - feel free to modify and/or delete. Enjoy the bugs.
UPDATE1: