//ads:
?>
auth pages not getting css in laravel
PHP Snippet 1:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
PHP Snippet 2:
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
PHP Snippet 3:
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
PHP Snippet 4:
<link href="{{ asset('js/app.js') }}" rel="stylesheet">
PHP Snippet 5:
composer require laravel/ui
php artisan ui bootstrap
php artisan ui bootstrap --auth
npm install
npm run dev
npm run production
PHP Snippet 6:
composer require laravel/ui
php artisan ui bootstrap --auth
npm install
npm run dev
npm run production
PHP Snippet 7:
composer require laravel/ui
php artisan ui vue
php artisan ui vue --auth
npm install
npm run dev
PHP Snippet 8:
composer require laravel/ui
PHP Snippet 9:
// Generate basic scaffolding...
php artisan ui bootstrap
php artisan ui vue
php artisan ui react
// Generate login / registration scaffolding...
php artisan ui bootstrap --auth
php artisan ui vue --auth
php artisan ui react --auth
PHP Snippet 10:
npm install
PHP Snippet 11:
npm run dev
PHP Snippet 12:
@ dev C:\xampp\htdocs\Auth
npm run development
@ development C:\xampp\htdocs\Auth
mix
Additional dependencies must be installed. This will only take a moment.
Finished. Please run Mix again.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `mix`
PHP Snippet 13:
composer require laravel/ui
PHP Snippet 14:
php artisan ui vue --auth
php artisan ui bootstrap --auth
php artisan ui react --auth
PHP Snippet 15:
npm install
PHP Snippet 16:
npm run production
PHP Snippet 17:
npm run dev
PHP Snippet 18:
composer require laravel/ui
php artisan ui vue
npm install
npm run dev
php artisan ui vue --auth
npm install
npm run dev
PHP Snippet 19:
npm update vue-loader
PHP Snippet 20:
composer require laravel/ui
php artisan ui bootstrap --auth
npm install
npm run dev
PHP Snippet 21:
npm uninstall popper.js && npm i @popperjs/core