https://github.com/ElementUI/element-in-laravel-starter
Laravel Project with Vue2 and Element
https://github.com/ElementUI/element-in-laravel-starter
Last synced: 5 months ago
JSON representation
Laravel Project with Vue2 and Element
- Host: GitHub
- URL: https://github.com/ElementUI/element-in-laravel-starter
- Owner: ElementUI
- Created: 2016-09-28T05:52:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T17:03:35.000Z (about 3 years ago)
- Last Synced: 2025-05-24T05:03:50.045Z (7 months ago)
- Language: JavaScript
- Size: 4.27 MB
- Stars: 729
- Watchers: 28
- Forks: 153
- Open Issues: 22
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome - ElementUI/element-in-laravel-starter - Laravel Project with Vue2 and Element (JavaScript)
README
# Element In Laravel
Laravel 5.7 Project with Vue2 and [Element](https://github.com/ElemeFE/element)
## Usage
```
git clone https://github.com/ElementUI/element-in-laravel-starter.git
```
```
cd
```
```
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://.test
```
Now you're ready to start coding!
## More
The articles can help you to deploy it by yourself:
- [Try Laravel 5.3 + Vue2 with Element](http://codesky.me/archives/try-laravel5-vue2-element-en.wind)
- [Laravel 5.3 + Vue2 + Element试水](http://codesky.me/archives/try-laravel5-vue2-element-cn.wind)
- [Element Docs](https://element.eleme.io/#/en-US)