Last active
February 19, 2024 17:46
-
-
Save ryangjchandler/6bfcc6a40f57ba8fbe75d89bf9ce04a0 to your computer and use it in GitHub Desktop.
Setup Tailwind in a Laravel project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Tailwind | |
npm i tailwindcss autoprefixer -D | |
# Create a Tailwind configuration file | |
npx tailwindcss init -p | |
# Setup the CSS file | |
cat <<EOF > ./resources/css/app.css | |
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment