BeginnerSoul's avatar

jQuery and bootstrap missing

Hello I don't know how but it is missing in my laravel version bootstrap and jquery. I installed laravel with this command laravel new testporject --jet and then I added custom html and tried to use the css/app.css and js/app.js files in the header after I ran the npm install && npm run dev commands. Was it removed from the laravel version 8.19? Or maybe I am using wrong. I read long time ago that the bootstrap and jquery should be in laravel but don't know in which version.

If they are removed then how can I put in the app.js and app.css?

0 likes
3 replies
MarianoMoreyra's avatar

Hi @beginnersoul

Yes, version 8 with Jetstream doesn't comes with Boostrap or jQuery anymore. Instead, it includes Tailwind CSS and Livewire or VueJS wit Inertia as default options.

If you haven't started coding on this project, you should create a new project from the beginning following this article:

https://www.parthpatel.net/laravel-8-bootstrap-auth-scaffolding/

And then this other from the same author, showing an example of Laravel 8 with Bootstrap and jQuery

https://www.parthpatel.net/laravel-ajax-crud-bootstrap-jquery/

Hope this helps!

1 like
BeginnerSoul's avatar

Thank you for the answers. Much to learn, indeed. I used long time ago laravel 6 and when I upgraded to laravel 8 then I can start everything from the beginning.

Please or to participate in this conversation.