亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Laravel: Problem using bootstrap locally
P粉917406009
P粉917406009 2024-03-26 16:48:37
0
1
586

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?

P粉917406009
P粉917406009

reply all(1)
P粉269847997

Try installing it using npm and compiling it using Laravel Mix. This is very easy to do.

In your console

npm install bootstrap
npm update

In your /resources/js/app.js

import 'bootstrap';
import 'bootstrap/dist/css/bootstrap.min.css';

Finally, in your /resources/views/layout.blade.php

sssccc

Now, we can compile the script like this:

npm run dev

Worked for me on the first try.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template