SimpleCrudGenerator
SimpleCrudGenerator copied to clipboard
Bootstrap 5 Support
Goal
On our view stubs, currently we only have bootstrap versions 3 and 4 available. Since laravel/ui:3.4.x, it uses bootstrap 5. So in order to use this package for the latest laravel and laravel/ui version, we need to add new view stubs for bootstrap 5.
Checklist
Here are some view stubs that need to be checked and adjust:
- [ ] full/create.stub
- [ ] full/edit.stub
- [ ] full/index.stub
- [ ] full/show.stub
- [ ] simple/forms.stub
- [ ] simple/index.stub
Notes
- We might need to support bootstrap 4, so all those stub files need to be renamed
- The existing
full/create.stub
intofull/create-bs4.stub
- The existing
full/edit.stub
intofull/edit-bs4.stub
, and so on.
- The existing
- Create those view stub files (no need
-bs5
suffix), since it will be used by default. - Bootstrap migration reference: https://getbootstrap.com/docs/5.2/migration