We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
👓 Step by step to run laravel 11, with docker and tailwind
There was an error while loading.Please reload this page.
This project objective is to show how to use Laravel with Docker and Tailwind!
Warning
Change {project} to to your project name on most of the files
composer create-project --prefer-dist laravel/laravel project
cp .env.example .env.
Tip
user the./.env.edit file to see the default values.
You can copy the./docker-compose file to see set the default values.
You can copy the./docker-compose.yml file to see set the default values.
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
You can copy the./vite.config.js file to see set the default values.
Inside the project folder run the command:docker-compose up -d --build
docker-compose up -d --build
Enter the docker bash to run tailwind:docker-compose exec app bash
docker-compose exec app bash
Run the command:npm run dev
npm run dev