Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the bootstrap folder inside laravel for?

I recently learning laravel and as I go along I decided to include bootstrap for my styling and js. I found a bootstrap folder inside my laravel folder and I am confused if bootstrap is already included in laravel. If that is so, where are the bootstrap css and js files? What kind of call am I going place inside my html? Hope someone could clarify this to me. Thanks

like image 774
Jay Marz Avatar asked May 28 '14 01:05

Jay Marz


People also ask

Does Laravel need bootstrap?

You are not required to use the Bootstrap framework to build your Laravel application - it is provided as a good starting point for those who choose to use it. The webpack. mix. js file included with Laravel's frontend scaffolding will compile the resources/sass/app.

Does Laravel 8 include bootstrap?

After installing the laravel/ui Composer package and generating the frontend scaffolding, Laravel's package. json file will include the bootstrap package to help you get started prototyping your application's frontend using Bootstrap.

How do I know if bootstrap is installed in Laravel?

To check the current version of Bootstrap that your laravel project is using. Go to the package. json file which is located in the project root directory. At the time of writing this article, fresh Laravel installation comes with Bootstrap 4.1.


2 Answers

The bootstrap folder is for when Laravel starts up. Which is commonly called bootstrapping. It has nothing to do with the Bootstrap CSS library.

like image 188
powerc9000 Avatar answered Sep 20 '22 10:09

powerc9000


Laravel's bootstrap folder has nothing to do with the Bootstrap CSS framework, it's used to initialize (setting up path & environments) the framework.

like image 31
Kien Truong Avatar answered Sep 20 '22 10:09

Kien Truong