Laravel-Backpack / Generators

Generate files for Backpack projects
http://backpackforlaravel.com
MIT License
314 stars 64 forks source link

Update page stub to closely match backpack pages #206

Closed pxpm closed 2 months ago

pxpm commented 2 months ago

WHY

reported by a genius here: https://github.com/Laravel-Backpack/DevTools/issues/350

BEFORE - What was wrong? What was happening before this PR?

The page stub was fairly basic, and wasn't consistent in all themes/layouts. Additionally developers would have quite a hard time to replicate our pages with the headers and the container.

AFTER - What is happening after this PR?

I think it's easier to just remove what you don't need, than trying to figure out how to add this stuff.

image image image

HOW

How did you achieve that, in technical terms?

Changed the stub file.

Is it a breaking change or non-breaking change?

Non. If developers had the stub published, their custom stub still takes precedence.