adenvt/laravel-coreui-vue

Laravel + CoreUI + Vue Boilerplate


Keywords
framework, boilerplate, laravel, vue, coreui, boilerplate-template
License
MIT

Documentation

Laravel CoreUI Vue

Laravel + CoreUI + Vue Boilerplate

Packagist Version Travis (.com) Travis (.com) branch Greenkeeper badge Packagist David David Packagist FOSSA Status

What's inside

Requirement

  • PHP >= 7.1.3
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension
  • Node >= 8.9.4
  • NPM >= 5.6.0

How to Install

via Composer

  1. Create project using composer
composer create-project --prefer-dist adenvt/laravel-coreui-vue project_name
cd project_name
  1. Install Dependencies
npm install
  1. Add write permission (Unix)
chmod -R go+w storage bootstrap/cache
  1. Compile Static Asset
## for Development
npm run dev

## for Production
npm run prod

## for Development with HMR (Hot Module Replacement)
npm run hot

via Git

  1. Clone this repo
git clone --depth=1 https://github.com/adenvt/laravel-coreui-vue.git project_name
cd project_name
rm -r .git
  1. Install Dependencies
composer install
npm install
  • Step 3 - 4 same as above

Using Docker Compose

For Development

  • Create and start Container
docker-compose up -d dev
  • Enter workspace
docker-compose exec dev bash
  • Install Depencies
composer install
npm install
  • Compile Static Asset
## Single run compile
npm run dev

## or watch and compile every change
npm run watch

## or using Hot Module Replacement
npm run hot

For Production

  • Create and start Container
docker-compose up -d prod

License

This project is licensed under the MIT License - see the LICENSE file for details

FOSSA Status