Example project made with Laravel, Blade, Tailwind and a tiny bit of Alpine.js.
Make sure you have PHP, Composer, Node, NPM and Docker installed.
-
Clone the repo
git clone https://github.com/thytanium/laravel-tailwind-real-estate
-
Install Composer dependencies
composer install
-
Create
.env
filecp .env.example .env
-
Set application key
php artisan key:generate
-
Create Docker containers with Laravel Sail
./vendor/bin/sail up -d
-
Run migrations and seeder
./vendor/bin/sail artisan migrate:fresh --seed
-
Install Node dependencies
npm ci
-
Build assets
npm run build
-
Open http://localhost on your browser.