greatsami / fortify-bootstrap
为Laravel 8 Fortify提供的Bootstrap模板
1.7.1
2020-10-14 11:58 UTC
Requires
- illuminate/support: ^8.0
- laravel/fortify: ^1.4
Requires (Dev)
- phpunit/phpunit: ^9.4
README
简介
使用Bootstrap 4的认证脚手架。
安装
您必须安装Laravel Fortify,并在App\Providers\FortifyServiceProvider.php中不添加任何调用blades的情况下完成所有设置。
安装完成后,请使用以下命令添加会话迁移(以激活TwoFactorAuthentication方法):
php artisan session:table
要开始,请使用Composer安装包
composer require greatsami/fortify-bootstrap
接下来,运行安装 artisan 命令以将bootstrap脚手架发布到应用程序
php artisan fortify:bootstrap
npm install && npm run dev
此命令将更新package.json中的Bootstrap依赖项,更新resources/sass和resources/js,以及resources/views中的认证视图(如登录、注册、重置密码请求、布局文件等)。
构建工具
Laravel
Laravel Fortify
Bootstrap
有用链接
贡献
欢迎拉取请求。对于重大更改,请首先打开一个问题来讨论您想要更改的内容。