Tailwind CSS Full Setup with Docker! Unlock Your CSS Superpowers

Опубликовано: 28 Февраль 2024
на канале: JCBCB
1,556
43

I'm COMPLETELY blown away by how easy it is to set up Tailwind CSS! Follow this quick tutorial to seamlessly integrate Tailwind CSS within a Docker container using Visual Studio Code. As a bonus, discover how to effortlessly toggle between dark and light modes.

What You'll Learn In This Video:
✅ How To Properly Setup Tailwind CSS Within a Docker Container.
✅ How To Configure a Docker Image & Container Using The Dockerfile
✅ How To Add DockerIgnore File To Your Project
✅ Steps to Configure Your Tailwind Config file
✅ Why Use Docker Instead Of Local Dev Environment
✅ Create a Lean package.json file for your Docker
✅ How To Active Dark Mode in Tailwind CSS
✅ Modify Colors In A Tailwind CSS Project
✅ How To Install Tailwind Css In Vs Code

Timestamp:
00:00:00 Introductory - Why I'm Shocked!
00:01:27 What You Need For This Tutorial
00:04:08 Vs Code Plugins & Extensions I Use
00:05:07 Installing The Docker Extension
00:06:09 Create Tailwind Css Project
00:08:51 Install Tailwind via Command Line
00:11:14 Configure the DockerFile
00:15:33 Add DockerIgnore File To Project
00:16:23 Modify Package.json For Docker
00:22:26 Chapter 2 - Spin Up Your Docker
00:23:38 Build & Run The Docker Container
00:27:15 Connect Vs Code To Docker Container
00:29:08 Touch A New Css File For Tailwind
00:30:40 Run Tailwind Css Project In Docker
00:33:27 Chapter 3 - Customize Tailwind Project
00:36:00 Activate Light & Dark Mode
00:38:52 Customize Dark Mode Colors
00:44:13 Change Website Primary Colors
00:47:19 The Bootstrap Question & Wrap-Up

Command Lines Used In Project:
🖥️ touch dockerfile ➡️ Creates A Dockerfile
🖥️ node -v ➡️ View Node Version
🖥️ npm install -D tailwindcss ➡️ Install Tailwind
🖥️ npx tailwindcss init ➡️ Creates Tailwind Config File
🖥️ touch .dockerignore ➡️Creates A Docker Ignore File
🖥️ touch index.html ➡️ Creates an Index.html File
🖥️ docker build -t tailwindproject . ➡️ Builds The Project
🖥️ docker run -p 3000:3000 tailwindproject ➡️Run The Docker Environment

Side note, Touch only works on Linux/Mac, use below for Windows:
Powershell: New-Item filename.ext -ItemType file

Other Videos:
Other videos that WILL help you in your development journey.
🎥 Beginners Guide To Bootstrap -    • Bootstrap Like a Pro - A Web Develope...  
🎥 Wordpress Setup Using Git & SSH -    • Are You Aware Of This? I Sure Was NOT...  
🎥 Create Automated Tasks With Gulp -    • Cut Your Dev Time In HALF With Gulp &...  

Stay Connected:
If you find this video helpful, please like, share, and subscribe. Your support helps us continue providing high-quality educational content for the web development community.

👍 If you find this video helpful, please give it a thumbs up.
💬 I'd love to hear your thoughts or questions in the comments.
🔔 Don't forget to subscribe and hit the bell for more -    / @jcbcb  
#tailwindcss #howto #webdevelopment #docker #css


Смотрите видео Tailwind CSS Full Setup with Docker! Unlock Your CSS Superpowers онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь JCBCB 28 Февраль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,55 раз и оно понравилось 4 людям.