CakePHP + Vue Prerequisite : composer, npm, Ubuntu (same commands will run on Windows/Mac as well, if everything else is configured correctly, and you know where to run the commands).
-
Install CakePHP
composer create-project --prefer-dist cakephp/app cakue
This will download and install CakePHP in the foldercakue
You can call it anything, if you do not give any name, then by default folder name would beapp
-
Install Vue
-
Merge
.gitignore
(important, ensures thatvendor
andnode_modules
both folders are ignored - at the very least)
The folders that are made writable are "logs" and "tmp" (and the sub-folders).