-
Notifications
You must be signed in to change notification settings - Fork 6
Cake5 - Next #19
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
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. |
|
there is also https://github.com/cakephp/app-tailwind for a basic tailwind setup but without this plugin. |
I made some modifications, but I was not able to finish.
ConfigDefaultsclass and I used the Helper's default config method. (Helpers usesInstanceConfigTrait)Environment::PRODUCTIONorEnvironment::DEVELOPMENT. For detectorEnvironment::FROM_DETECTORcan be used. Not tested yet. lolSince the environment is explicitly defined the
prodFilteranddevFilesis unnecessaryYou can add files (scripts/css) separetly to 'prod' or 'env' or 'both'
webroot_srctoresourcesTODO:
If you think is too much - feel free to modify and/or delete. Enjoy the bugs.
UPDATE1: