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 installed will prompt to setup permissions once composer has finished installing the dependencies.
Enter
Y
or just hitEnter
(Yes is the default response)