Argument 1 passed to App\Http\Controllers\Auth\LoginController::credentials() must be an instance of App\Http\Controllers\Auth\Request, instance of Illuminate\Http\Request given, called in C:\xampp\htdocs\laravel-ecommerce\vendor\laravel\ui\auth-backend\AuthenticatesUsers.php on line 83
Go to your Login Controller and add below class.
use \Illuminate\Http\Request;
In this tutorial i’m going to learn how to install React
How to Install Create-React-App
In order to install your app, first go to your workspace (desktop or a folder) and run the following command:
Go to your visual code and open terminal there as below.
npx create-react-app my-app
How to Run the App You Created with Create-React-App
After the installation is completed, change to the directory where your app was installed:
cd my-app
and finally run npm start
to see your app live on localhost:
npm start
Now React app successfully installed.