Introductions
Couple months ago I was trying to find a new solution for my project, and I had built a SPA dashboard with Vue (using this great framework, Laravel Lumen as API gateway, Laravel Passport as SSO server). After some weeks of working, I found that architecture has some limitations, especially in deployment and hard to open source (because many components involved, CORS setup,...). Then one day new idea came to me:
Why don't we use builtin VueJS of Laravel to build a SPA dashboard?
And Laravel + VueJS = Laravue
Demo: https://laravue.dev
Documentation: https://doc.laravue.dev
Laravue is a beautiful dashboard inspired by vue-element-admin but beyond that. It provides all necessary components for building an enterprise application for admin to control business and manage others. My plan is to apply newest technologies/libraries/components of Laravel/Vue to this project and make it easy to use for everyone. In the demo, API will be served by Laravel itself and most of them are faked - but easy to implement.
Getting started
# Clone the project with composer
composer create-project tuandm/laravue
cd laravue
# Migration and DB seeder (after changing your DB settings in .env)
php artisan migrate --seed
# Install passport
php artisan passport:install
# install dependency
npm install
# Build for development
npm run dev # or npm run watch
# Start local development server
npm artisan serve
Next steps
This project is on heavy development and it has not being built as Laravel plugin (as it should be). Next step will be a standalone plugin for Laravel to easy to integrate to existing Laravel websites.
Provide full documentation and strict coding convention. PHP/Laravel has an excellent PSR and VueJS has a good standard here but it's too basic and not enough.
Fully tests.
I greatly appreciate any feedback, comments, suggestions,... they absolutely make me and this library better. Thank you.
Also, this is my first DEV post 🎉