Laravel 9 + Vite + Tailwindcss install workflow

composer create-project laravel/laravel sme01
cd sme01

valet link

install Laravel successfully git submit

npm install -D tailwindcss postcss autoprefixer
npm install -D sass
npx tailwindcss init -p

tailwind.config.js add content some things

content: [





app.blade.php add to <head>


install tailwindcss+sass okay. git submit

composer require laravel/jetstream
php artisan jetstream:install livewire

.env file setting the database connect

php artisan migrate 

Jetstream successfully ! git submit

edit the RouteServiceProvider.php and create a /routes/admin.php file

public const HOME = '/';  //changed
protected $namespace = 'App\\Http\\Controllers';   //added 

//add code to boot() for admin panel





add helpers file to composer.json for autoload

"autoload": {
    "files": [  
composer dump-autoload