I have problems using bootstrap locally if I use bootstrap like this:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
It loads very fast, but when I download bootstrap and use it locally on the public folder like this:
<link rel="stylesheet" href="{{ asset('bootstrap/css/bootstrap.min.css') }}" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
I received the error "Maximum execution time 60 seconds exceeded", the folder has been correctly placed in "public/bootstrap/css/bootstrap.min.css", how to fix it?
Try installing it using npm and compiling it using Laravel Mix. This is very easy to do.
In your console
In your
/resources/js/app.js
Finally, in your
/resources/views/layout.blade.php
Now, we can compile the script like this:
Worked for me on the first try.