Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Flex's avatar
Level 4

bootstrap installation with npm

I have some problem with installation bootstrap css framework on Laravel with npm command. where is the folder/s bootstrap files installation via npm command? how can I see bootstrap CSS and js files like manual installation?

0 likes
3 replies
SarwarAhmed's avatar

@Flex What are the installation problems? You can install bootstrap framework using laravel/ui.

composer require laravel/ui
php artisan ui bootstrap
npm install
npm run dev

Now you can see compiled CSS and js file inside the public folder.

SarwarAhmed's avatar

resources/sass/app.scss


// Bootstrap
@import '~bootstrap/scss/bootstrap';

Please or to participate in this conversation.