Professional Documents
Culture Documents
Next we load the CSS and import Bootstrap’s JavaScript. Add the following to resource/js/app.js
to load the CSS and import all of Bootstrap’s JS.
import ‘./bootstrap’
import ‘../scss/app.scss’
Update resources/js/bootstrap.js
import * as Popper from ‘@popperjs/core’
window.Popper = Popper
import ‘bootstrap’
Next we fill in welcome.blade.php inside the <header> tag. This is the HTML page Vite will load
in the browser to utilize the bundled CSS and JS we’ll add to it.
@vite(['resources/scss/app.scss’,
'resources/js/app.js’])