Laravel 5.7 Project with Vue2 and Element
git clone https://github.com/ElementUI/element-in-laravel-starter.git <project-name>
cd <project-name>
composer install
cp .env.example .env
php artisan key:generate
php artisan serve (if not using laravel valet)
yarn OR npm install
yarn watch OR npm run watch
Visit http://localhost:8000
, It works!
If using laravel valet, visit http://<project-name>.test
Now you're ready to start coding!
The articles can help you to deploy it by yourself: