How to Setup TailwindCSS 3.0 in a Laravel 9 Project | Full Laravel 9 Course | Laravel For Beginners

  Рет қаралды 12,559

Code With Dary

Code With Dary

Күн бұрын

Пікірлер: 30
@r.b.4009
@r.b.4009 2 жыл бұрын
awesome run through! Great guide on how to set this up, where I struggled with several other tutorials. Thanks so much!
@codewithdary
@codewithdary 2 жыл бұрын
You're very welcome!
@blanche0018
@blanche0018 2 жыл бұрын
I really though there will be a lot of changes since Vite, but I think it doesn't affect all of the tutorial at all. I followed the installation from tailwind, but I still watched this, because there's a lot more info that I didnt really know, most of it were tiny details. Thanks Sir! I
@codewithdary
@codewithdary 2 жыл бұрын
Vite is just a replacement of Webpack which compiles your frontend assets. Doesn't really change anything to the core of Laravel. Compiling assets in Vite and Webpack both have the same "general idea" behind it. You can use a Tailwind CDN as well to follow this course which makes it simple as well.
@blanche0018
@blanche0018 2 жыл бұрын
@@codewithdary Ohhh thanks for the explanation Sir! I've been learning a lot from your tutorial, since I am using Laravel for my project. But I use React for frontend and firebase for database instead. I still followed everything since I know I need to know it.
@joshua0x
@joshua0x 2 жыл бұрын
Great video. Not to long, but with all the information needed.
@codewithdary
@codewithdary 2 жыл бұрын
Thank you Joshua!
@e-poxytutorials1297
@e-poxytutorials1297 2 жыл бұрын
Awesome information. Thank you. I am just starting out with Tailwind and this is very informative.
@codewithdary
@codewithdary 2 жыл бұрын
Lovely man, good luck with that! :)
@lukinkoo
@lukinkoo Жыл бұрын
When you develop in Docker container on a Linux machine (e.g. I use Lando, VSCode), where do you actually install Tailwind CSS? Inside the container? Or on the local machine (in Linux)?
@codewithdary
@codewithdary Жыл бұрын
I'm not very familiar with Docker, but I would most likely install it inside the container, since the development environment will be consistent across different machines.
@bakarbsa
@bakarbsa Жыл бұрын
I'm using tailwind elements, which files i should import 'tw-elements' on laravel 9?
@fabiansb
@fabiansb Жыл бұрын
Hi, I'm on a project with Laravel 9 and Mix. I've installed tailwind and I got noticed my tailwind.config.js isn't working. What do I have to do? Any suggestion? I could solve it by putting code into css/app.css below the @tailwind directives, but It's gonna be useful for me doing that on tailwing.config.js theme.
@codewithdary
@codewithdary Жыл бұрын
Here is the docs that works for Laravel Vite: tailwindcss.com/docs/guides/laravel
@stephenzammit3512
@stephenzammit3512 2 жыл бұрын
Hi Dary thank you for your very interesting material that you upload for us. No words to thank yuou enough. My question if I may please Laravel 9 dropped webpack and is only supporting vite. Will you be giving a tutorial on this issue please? Thank you and well done.
@codewithdary
@codewithdary 2 жыл бұрын
Not anytime soon. Too many small issues with Vite now and I have other plans.
@johnnyade
@johnnyade Жыл бұрын
Updating this video would be useful as Laravel now uses vite, I had problems until I was able to figure out how use tailwindcss with vite
@codewithdary
@codewithdary Жыл бұрын
Definitely. Got lots of other content ideas first :) tailwindcss.com/docs/guides/laravel#vite
@MePeterNicholls
@MePeterNicholls 2 жыл бұрын
I use bootstrap. Can bootstrap be used like this?
@codewithdary
@codewithdary 2 жыл бұрын
You can install bootstrap manually and compile sass. First, add it to npm with compilers: npm install bootstrap npm install sass npm install sass-loader Second, create (if not created) resources/sass/app.scss and add this: @import '~bootstrap'; Third, add compilation in webpack.mix.js: mix.sass('resources/sass/app.scss', 'public/css') Than, compile it with npm run dev - you see compiled file public/css/app.css Now you can use it in templates with asset:
@MePeterNicholls
@MePeterNicholls 2 жыл бұрын
@@codewithdary wow thank you!
@eldoradokolade
@eldoradokolade 2 жыл бұрын
@@codewithdary Please can you pin this comment to this video? Thank you
@djordje1999
@djordje1999 Жыл бұрын
Can you do updated version of this video? Backsupport is awful for laravel..
@codewithdary
@codewithdary Жыл бұрын
I won't be doing that, I already have two 'how to install Tailwind CSS' videos on my channel.
@codewithdary
@codewithdary Жыл бұрын
Also; how much more updated do you want it to be? Laravel 9 + Tailwind 3?
@lfan_tv
@lfan_tv 2 жыл бұрын
hi why my first time run the code can show the tailwind css style, but i change the color then it does not work?
@savmass
@savmass 2 жыл бұрын
Unfortunately the files did not generate like you've listed so I am unable to install it properly.The series has been amazing so far, I really hope I can still follow without installing tailwind CSS. As well, my package.json looks very different than yours, with many missing lines.
@codewithdary
@codewithdary 2 жыл бұрын
Hi savmass. You could also use tailwind CDN (just google it) and use that instead of the stylesheet. It’s easier for demonstration purposes.
@savmass
@savmass 2 жыл бұрын
@@codewithdary I'll look it up, thank you for the reply. Am I ok just to use npm uninstall to get rid of what I had installed so far then?
@codewithdary
@codewithdary 2 жыл бұрын
Yes, that should do the trick for you :)
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Top 10 Tips and Tricks with Tailwind CSS
23:45
developedbyed
Рет қаралды 92 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 267 М.
How to Vim in 2023: Tips and Tricks
15:53
ThePrimeagen
Рет қаралды 444 М.
CrewAI and AgentOps for the win
23:43
Agency AI
Рет қаралды 98
Laravel CRUD in 50 minutes for Beginners  from Scratch
49:58
Devtamin
Рет қаралды 240 М.
Top 10 Linux Job Interview Questions
16:04
tutoriaLinux
Рет қаралды 2,4 МЛН
Tailwind CSS Crash Course
30:31
Traversy Media
Рет қаралды 649 М.
Beginner's Crash Course to Elastic Stack -  Part 1: Intro to Elasticsearch and Kibana
56:42
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19