Then open your composer.json file and tell it to use 3.3 and not 3.4.1
Jan 5, 2022
6
Level 1
Laravel 8 and Bootstrap 4 Frontend Scaffolding (PHP 8.0 / 8.1)
Hello, I am already a bit desperate. I am trying to install Laravel 8 (frontend scaffolding) Bootstrap 4.
I proceed as follows:
- composer create-project laravel/laravel example-app
- composer require laravel/ui:^3.3
- php artisan ui bootstrap --auth
As you can see, I am using version laravel/ui:^3.3. Unfortunately, however, version laravel/ui:^3.4.1 is automatically installed. (Bootstrap 5) - But I don't want that.
On the localhost with XAMPP this works funnily enough without problems There I can install version laravel/ui:^3.3 with Bootstrap version 4.
Maybe someone can help me?
Sorry for my bad English
Level 75
@Snackpack did you try without ^. And see examples: https://getcomposer.org/doc/03-cli.md
1 like
Please or to participate in this conversation.