Awesome
A Basic CakePHP + VueJS Single Page Application
A basic CakePHP + VueJS single page application. Provides basic skeleton/boilerplate to quickly get started with CakePHP and Vue.js.
❤️ Support The Development
Do you like this project? Support it by donating:
<a href="https://www.buymeacoffee.com/ishanvyas" target="_blank"> <img src="https://www.buymeacoffee.com/assets/img/custom_images/purple_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" > </a> <a href="https://www.patreon.com/ishanvyas"> <img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160"> </a>or Paypal me
Follow me
Installation
-
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.
Development
- 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
Notes
- 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.
Changelog
Please see CHANGELOG for more information about recent changes.
Contribution
I love to welcome your contributions if you know CakePHP / Vue.js.
License
The MIT License (MIT). Please see License File for more information.