A basic CakePHP + VueJS single page application. Provides basic skeleton/boilerplate to quickly get started with CakePHP and Vue.js.
Do you like this project? Support it by donating:
or Paypal me
-
Get project into your system
Via composer:
composer create-project ishanvyas22/cakephpvue-spa
Via cloning the project into your server:
git clone git@github.com:ishanvyas22/cakephpvue-spa.git
-
Install composer dependencies
composer install
-
Connect with your database
-
Run the migrations
bin/cake migrations migrate
-
Start CakePHP web server or create v-host to run this app.
- Install npm packages
npm install
- Run below command (Uses awesome Asset Mix plugin for asset compilation)
- To watch every changes in your vue file
npm run watch
- To generate development version of js file
npm run dev
- To generate production version of js file
npm run prod
- To watch every changes in your vue file
- This is project is under development currently so you might not want to use this app in production directly.
- This is just a skeleton/example how you can implement the Vue.js with CakePHP.
Please see CHANGELOG for more information about recent changes.
I love to welcome your contributions if you know CakePHP / Vue.js.
The MIT License (MIT). Please see License File for more information.