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
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.
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.
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.
The bootstrap folder is for when Laravel starts up. Which is commonly called bootstrapping. It has nothing to do with the Bootstrap CSS library.
Laravel's bootstrap folder has nothing to do with the Bootstrap CSS framework
, it's used to initialize (setting up path & environments) the framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With