composer global require “laravel/installer=~1.1”
Since I installed laravel/installer globally via
composer global require laravel/installer
So I update laravel/installer globally via:
composer global update laravel/installer
Then do:
composer global show
and I see
laravel/installer v2.3.0 Laravel application installer.
Now I can install a fresh Laravel with auth flag!
laravel new project --auth
This command:
laravel new my-test-app --auth
Is the shorthand of four following commands:
Laravel new my-test-appcd my-test-appcomposer require laravel/ui --devphp artisan ui vue --auth
To initialize the Laravel project you need to:
php artisan migratenpm install
npm run dev
When creating mobile optimization stick to only 2 media queries. This is a good rule of thumb to keep your CSS compatible throughout and clean, there is no standard or rule saying you are not allowed to use other media queries.
It’s just a something I learnt works well for me to keep things compatible throughout and keeps code cleaner.
@media only screen and (min-width: 1024px) {
body {
background-color: lightblue;
}
}
@media only screen and (max-width: 1023px) {
body {
background-color: lightblue;
}
}
Credit Author : https://www.nickkolenda.com/color-psychology/
So for the specificity of this case I was redirecting to the admin dashboard continuously when ever I tried to navigate to the home page.
I was logged in as admin.
The problem was that I updated my email and this caused a conflict with the site.
WordPress wanted me to first confirm the new email before I could go to the website front end.
Alternatively if this is not your solution perhaps check this link.
It looked good.
https://www.hostinger.com/tutorials/fix-wordpress-login-redirect-loop