laravel new project-name
or
composer create-project laravel/laravel project-name
npm install react @types/react react-dom react-router-dom typescript @babel/preset-react ts-loader
tsc --init --jsx react
mix.ts('resources/js/app.js', 'public/js')
.postCss('resources/css/app.css', 'public/css', [
//
]).react();
php artisan serve
npm run watch
for auto compiling after changes
or
npm run dev
for manual compiling