A laravel and vue combination supporting a laravel backend and a vue frontend.
dynamatrix/laravel-vue is a Laravel package for a laravel and vue combination supporting a laravel backend and a vue frontend..
It currently has 2 GitHub stars and 11 downloads on Packagist (latest version v1.0.1).
Install it with composer require dynamatrix/laravel-vue.
Discover more Laravel packages by dynamatrix
or browse all Laravel packages to compare alternatives.
Last updated
The laravel-vue scaffold is a template repository usable for new projects that rely on Laravel and Vue. This scaffold combines the two in such a way that they work together efficiently and without issue. Laravel handling the back-end, API and database connections, while Vue handles the front-end, routing and API calls to the back-end.
You can use this scaffold by pulling it and changing the git remote, or by using composer create-project dynamatrix/laravel-vue.
You can find the scaffold on packagist.
$ sudo apt update
$ sudo apt install mariadb-server
$ sudo mysql_secure_installation
For the configuration, please read this article by DigitalOcean
After setup, if you have Node and PHP installed; you may continue by using the installers:
$ npm install
$ composer install
After that, you may run the application using
$ php artisan serve
$ npm run watch
Axios is installed for the communication between front-end and backend. You may use Axios to make api calls to the laravel backend.
For information on how to use Vue, Laravel, SCSS, Tailwind and Mysql: