Laravel Tailwind CSS Sample File Upload - Code to show how to do upload and delete operations with the file using Tailwind CSS with Laravel
Step 1:
Clone the project
git clone
Go to the project directory
cd laravel-tailwindcss-sample-fileupload
Step 2: Install dependencies
composer install
Step 3: Make .env file from .env.example
cp .env.example .env
Step 4: You need DB connection information to your .env file
DB_HOST
DB_PORT
DB_DATABASE
DB_USERNAME
DB_PASSWORD
Step 5 run migrations
php artisan migrate
Step 6 run npm
npm i
Step 7 Update CSS
npx tailwindcss -o public/css/app.css
Step 8 link storage
php artisan storage:link
Step 9: Start the server
php artisan serve