Open imliam opened 5 years ago
“Bootstrap” was a pretty common term—and still is—before the front-end framework came along.
The skeleton Laravel application has a bootstrap directory in its root. Should that be renamed as well based on this logic?
I understand the terminology has its roots and uses outside the front-end framework, but that doesn't make it any less confusing for people that stumble into this.
The root bootstrap directory is less problematic in my opinion, there's less ambiguity because it's not a directory the developer interacts with directly, or contains references to the front-end framework.
I think
./resources/js/bootstrap.js
should be renamed to something else in the default Laravel install.The reason for this is because it is confusing terminology as it is for bootstrapping the JavaScript assets and contains the Bootstrap front end framework.
Quite often when I've talked to people getting started with Laravel, they've assumed everything in that file is to get the Bootstrap framework working, which is not the case - it's only about 4 lines in that file that do it.
It's such a trivial thing but I think renaming it would go a long way to rid that early confusion.