Replace your .htaccess file with the below solution contents
Solution:
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] </IfModule> # Set the “ea-php71” package as the default “PHP” programming language. <IfModule mime_module> AddType application/x-httpd-ea-php71 .php .php7 .phtml </IfModule>
use this one through composer:
composer create-project laravel/laravel
This is an older one I tried previously use the one above first:
composer create-project –prefer-dist laravel/laravel blog “5.8.*”
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/
