SimpleCrudGenerator icon indicating copy to clipboard operation
SimpleCrudGenerator copied to clipboard

Bootstrap 5 Support

Open nafiesl opened this issue 2 years ago • 0 comments

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

  1. We might need to support bootstrap 4, so all those stub files need to be renamed
    • The existing full/create.stub into full/create-bs4.stub
    • The existing full/edit.stub into full/edit-bs4.stub, and so on.
  2. Create those view stub files (no need -bs5 suffix), since it will be used by default.
  3. Bootstrap migration reference: https://getbootstrap.com/docs/5.2/migration

nafiesl avatar Sep 13 '22 04:09 nafiesl