https://github.com/mcabreradev/laravel-vue-example
https://github.com/mcabreradev/laravel-vue-example
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcabreradev/laravel-vue-example
- Owner: mcabreradev
- Created: 2017-09-23T01:26:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T20:23:15.000Z (over 2 years ago)
- Last Synced: 2025-02-07T12:47:15.986Z (over 1 year ago)
- Language: JavaScript
- Size: 11.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
- [Composer](https://getcomposer.org/)
- [Node.js](https://nodejs.org/)
- [npm](https://www.npmjs.com/)
- [Laravel requirements](https://laravel.com/docs/5.2/installation#server-requirements)
## Setup
Install php dependencies
```bash
composer install
```
Install npm packages
```bash
npm install
```
Compile assets at least once
```bash
npm run prod
```
Duplicate .env.example in **.env**. Then edit **.env** to adjust your enviroment
```bash
cp .env.example .env
```
Migrate and seed
```bash
php artisan migrate --seed
```
## Utilities
### npm scripts
```bash
#compile
npm run prod
#compile and watch
npm run drv
```