adenvt / laravel-coreui-vue

Boilerplate for Single Page Application, powered by Laravel, CoreUI, Vue
https://packagist.org/packages/adenvt/laravel-coreui-vue
MIT License
79 stars 26 forks source link
boilerplate-template coreui laravel vue

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

How to Install

via Composer

  1. Create project using composer
    composer create-project --prefer-dist adenvt/laravel-coreui-vue project_name
    cd project_name
  2. Install Dependencies
    npm install
  3. Add write permission (Unix)
    chmod -R go+w storage bootstrap/cache
  4. 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
```bash
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

or watch and compile every change

npm run watch

or using Hot Module Replacement

npm run hot

* Open browser, goto [http://localhost:8888](link)

### For Production
* Create and start Container

docker-compose up -d prod



* Open browser, goto [http://localhost:88](link)

## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

[laravel]: https://laravel.com
[coreui]: https://coreui.io
[axios]: https://github.com/axios/axios
[jquery]: https://jquery.com/
[lodash]: https://lodash.com/
[moment]: https://momentjs.com/
[vue-router]: https://router.vuejs.org/
[vuex]: https://vuex.vuejs.org/
[vue-sweatalert2]: https://github.com/avil13/vue-sweetalert2
[vue-notification]: http://vue-notification.yev.io/
[vue-loading-spinner]: https://nguyenvanduocit.github.io/vue-loading-spinner/
[docker-compose]: https://docs.docker.com/compose/
[offline-plugin]: https://github.com/NekR/offline-plugin
[workbox]: https://developers.google.com/web/tools/workbox/
[laravel-page-speed]: https://github.com/renatomarinho/laravel-page-speed

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fadenvt%2Flaravel-coreui-vue.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fadenvt%2Flaravel-coreui-vue?ref=badge_large)