ishanvyas22/cakephpvue-spa

A CakePHP + VueJS single page application skeleton

Installs: 30

Dependents: 0

Suggesters: 0

Stars: 9

Watchers: 3

Forks: 2

Open Issues: 0

Language:HTML

Type:project

1.0.2 2019-05-08 14:03 UTC

README

Build Status License

A basic CakePHP(3.*) + VueJS single page application. Provides basic skeleton to quickly get started with cakephp and vuejs.

Installation

  1. 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
  2. Install composer and npm dependencies

    composer install
  3. Connect with your database

  4. Run the migrations

    bin/cake migrations migrate
  5. Start CakePHP web server or create v-host to run this app.

Development

  1. Install npm packages
    npm install
  2. Run below command (Uses awesome tool Laravel mix by Jeffrey Way)
    • 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 production

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 VueJS with CakePHP.

TODO

  • To add TODO section in README :)

Issues

Feel free to submit issues and enhancement requests.

Contribution

I love to welcome your contributions if you know VueJS / CakePHP.