tooinfinity/breeze-module
最新稳定版本:1.0.0
Composer 安装命令:
composer require tooinfinity/breeze-module
包简介
Minimal Laravel authentication scaffolding with Blade and Tailwind.
README 文档
README
know this an issue with this 'Unable to locate a class or view for component [auth:guest-layout]' and also 'Unable to locate a class or view for component [auth:app-layout]' this is a simple fix go to AppServiceProvider.php and register these components on the boot method
public function boot(): void
{
Blade::component('auth::guest-layout', GuestLayout::class);
Blade::component('auth::app-layout', AppLayout::class);
}
to install this package run
composer require tooinfinity/breeze-module:dev-main --dev
and this package require laravel module package to install it run
composer require nwidart/laravel-modules
after that run this commands
php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider"
By default the module classes are not loaded automatically. You can autoload your modules using psr-4. For example :
"extra": {
"laravel": {
"dont-discover": []
},
"merge-plugin": {
"include": [
"Modules/*/composer.json"
]
}
},
Tip: don't forget to run composer dump-autoload afterwards
composer dump-autoload
php artisan module:make Auth
to create auth API run this
php artisan breeze:install
and choose from the following
'blade' => 'Blade with Alpine',
'livewire' => 'Livewire (Volt Class API) with Alpine',
'livewire-functional' => 'Livewire (Volt Functional API) with Alpine',
'react' => 'React with Inertia',
'vue' => 'Vue with Inertia',
'api' => 'API only',
'module-api' => 'laravel modules API only',
'module-blade' => 'laravel modules Blade with Alpine',
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-05