ishanvyas22/cakephpvue-spa

A CakePHP + VueJS single page application skeleton

Installs: 107

Dependents: 0

Suggesters: 0

Security: 0

Stars: 19

Watchers: 4

Forks: 2

Open Issues: 0

Language:HTML

Type:project

1.1.1 2019-11-09 12:25 UTC

This package is auto-updated.

Last update: 2020-05-15 06:16:25 UTC


README

Latest Stable Version Total Downloads License Build Status

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 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 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.