/laravue

Primary LanguageVueMIT LicenseMIT

vue vue element-ui license

Laravue

Introduction

Laravue is a beautiful dashboard based on Laravel, vue and use the UI Toolkit element.

This Laravel-Vue admin is inspired by the awesome vue-element-admin (many thanks to PanJiaChen for the great works). Newest development stack of Laravel/Vue such as i18n, Envoy, vue-router,.. will be applied into this project.

Preparation

** Node

** Git

** Laravel

The project is built on top of Laravel, vue, vuex, vue-router, axios and element-ui. Since this is positioned as an enterprise management solution, it is recommended to use it to start a project.

If you want to integrate Laravue to existing Laravel project, please refer to Laravue Core for more detail

API

API will be served by Laravel. In this project, you need to run migration and data feeder to generate sample data for authentication/authorization, other APIs will be faked.

Getting started

This project is built on top of fresh latest version Laravel (5.8). You should check the installation guide of Laravel here

# Clone the project and run composer
composer create-project tuandm/laravue
cd laravue

# Migration and DB seeder (after changing your DB settings in .env)
php artisan migrate --seed

# Generate JWT secret key
php artisan jwt:secret

# install dependency
npm install

# develop
npm run dev # or npm run watch

# Build on production
npm run production

Deployment and/or CI/CD

This project uses Envoy for deployment, and GitLab CI/CD. Please check Envoy.blade.php and .gitlab-ci.yml for more detail.