1.npm install
2.npm install bootstrap@4.0.0-alpha.6
3.Change the path of bootstrap in "resources/assets/sass/app.scss" to @import "node_modules/bootstrap/scss/bootstrap.scss";
4.Change $font-size-base: 14px; in variable.scss to $font-size-base:0.875 rem;
5.In resources/assets/js/bootstrap.js, look for require('bootsrap-sass'); and change it to require('bootstrap');
- run npm install & run npm dev
bootstrap 4(check out in app.css) will be installed to your laravel 5.4 or lesser version,
since laravel 5.4 or less uses bootstrap version 3.4.1 all the default styles will change and inbuilt laravel UI will change.