My version of Laravel is 7.18.0
Using these instructions in the console:
composer require laravel/ui
php artisan ui vue --auth
I have available controllers, views, etc, to perform authentication in Laravel
But when I load the main view it doesn't look right, this is how it looks like:
What happens, why does my vision not look good?
Thank you!
You have to verify that you are loading the style sheets correctly. Have you compiled the assets?
If instead you don't want to use laravel mix or compile the assets, try this so you understand the problem. Just by including the bootstrap cdn, you will see the styles corrected
You can create the app.css file yourself in public/css for your custom styles.
I had the same error. What happens is that you have an outdated npm .
What I did is just enter the front , which is the code, separately:
composer require laravel-frontend-presets/tailwindcss --dev
php artisan ui tailwindcss --auth
php artisan ui react
npm install && npm run dev
npm remove laravel-mix
npm install laravel-mix --save-dev
npm install cross-env --save-dev
npm install && npm run dev
After this you will get the installation complete box of js and css