This package adds front end scaffolding to your Laravel application.
Once installed in a fresh Laravel application you quickly get a basic starting point.
To get up and running with a Single Page Application (SPA) just run the following Artisan command:
php artisan ui spa-bootstrap-cover
Then your Laravel application will be set up with a fully functional SPA using Vue and Vue Router ready for you to build something wonderful. The scaffolded front end is based on the bootstrap Cover template. Future releases will add more choices so you may chose the starting point that fits your application best.
Use Composer to install this package:
composer require kleiven/laravel-ui
Now you may scaffold you front end using the Artisan command:
php artisan ui spa-bootstrap-cover
Also, remember to run npm install
to install added dependencies such as bootstrap, vue and vue-router.
This package declares preset macros using Laravel's UiCommand
. Therefore all front end scaffolding may be installed using the Ui
Artisan command.
Since March 2020 there is a new kid in town and for now there has only been time to make 1 preset, but more will follow. The following table lists all presets available for the current package version.
Preset | Install command |
---|---|
spa-bootstrap-cover | php artisan ui spa-bootstrap-cover |
Hopefully it will be possible to contribute with your presets in the future.
This package is licensed under the MIT license.