Package Data | |
---|---|
Maintainer Username: | m1guelpf |
Maintainer Contact: | Dan@DanHarrin.com (Dan Harrin) |
Package Create Date: | 2020-04-25 |
Package Last Update: | 2024-11-24 |
Home Page: | |
Language: | Blade |
License: | MIT |
Last Refreshed: | 2024-12-15 15:22:06 |
Package Statistics | |
---|---|
Total Downloads: | 426,918 |
Monthly Downloads: | 12,577 |
Daily Downloads: | 112 |
Total Stars: | 2,505 |
Total Watchers: | 58 |
Total Forks: | 208 |
Total Open Issues: | 7 |
A front-end preset for Laravel to scaffold an application using the TALL stack, jumpstarting your application's development.
If you're not familiar with the name, it's an acronym that describes the main technologies involved in the stack:
Some notable features of this package include:
To install the preset in a fresh Laravel application, simply run the following commands:
composer require livewire/livewire laravel-frontend-presets/tall
php artisan ui tall
npm install
npm run dev
If you would like to install the preset and its auth scaffolding in a fresh Laravel application, make sure to use the --auth
flag on the ui
command:
composer require livewire/livewire laravel-frontend-presets/tall
php artisan ui tall --auth
npm install
npm run dev
Some notable features of the authentication scaffolding include:
All routes, components, controllers and tests are published to your application. The idea behind this is that you have full control over every aspect of the scaffolding in your own app, removing the need to dig around in the vendor folder to figure out how things are working.
Tailwind uses PurgeCSS to remove any unused classes from your production CSS builds. You can modify or remove this behaviour in the purge
section of your tailwind.config.js
file. For more information, please see the Tailwind documentation.
If you don't want to keep this package installed once you've installed the preset, you can safely remove it. Unlike the default Laravel presets, this one publishes all the auth logic to your project's /app
directory, so it's fully redundant.
If you are using pagination, you set the default pagination views to the ones provided in the boot
method of a service provider:
use Illuminate\Pagination\Paginator;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
public function boot()
{
Paginator::defaultView('pagination::default');
Paginator::defaultSimpleView('pagination::simple-default');
}
}