when I run npm run build @7:31 no classes are copyed to main.min.css although I followed the steps exactly, I dont know why!!! can you help me?
@omaral-halabiah2851 Жыл бұрын
maybe I have to add this line './core/templates/**/*.{html,js}', to "tailwind.config.js" file is it right ?
@CodeWithStein10 ай бұрын
Did you fix it?
@neohornet19049 ай бұрын
Can I ask what vscode extensions you are using?
@CodeWithStein9 ай бұрын
Vue, Vetur, Python, Pylance, Jupyter, isort, flutter, EditorConfig, Django, Dart, C#, awesome flutter. So not very many :-)
@wizziiid2 жыл бұрын
This was so helpful! thanks alot
@CodeWithStein2 жыл бұрын
Thanks 😁
@youbra4267 Жыл бұрын
thank you ❤
@CodeWithStein Жыл бұрын
You’re welcome :-)
@donaldojinete7 ай бұрын
This is a good stack for people like me that dislike some FE frameworks, could be nice include Daisy UI, Thank you !!
@CodeWithStein7 ай бұрын
I agree, it is a good stack :-D
@miqbal_sis11 ай бұрын
Thanks you for this. The admin interface is very out of css, how can we load default styling of admin without sending user to refresh.
@CodeWithStein11 ай бұрын
Hey, sorry, I don't understand what you mean?
@miqbal_sis11 ай бұрын
@@CodeWithStein Applying css to admin
@kashaxx3 жыл бұрын
This is nice! Enjoyed it. Cheers :D
@CodeWithStein3 жыл бұрын
Thanks Akash :-D
@sanjaydhande65732 жыл бұрын
As always, great ! Thanks
@CodeWithStein2 жыл бұрын
Thanks 😁
@AmoahDevLabs2 жыл бұрын
This is really cool. Thanks for the update
@CodeWithStein2 жыл бұрын
You’re welcome 😁
@24webdevelopment10 ай бұрын
it works great on local system, but what about in production? How do I get it working online?
@CodeWithStein10 ай бұрын
Hey, this should work online as well. You just need to deploy it to a server like digital ocean, i have a few videos on the subject 👍🏻
@joshajiniran2 жыл бұрын
Very nice tutorial and much appreciated, after dabbling with every kind of mechanism, this finally is smooth. Thanks. However, can the content array field in tailwind.config.js contain other *.html paths?
@CodeWithStein2 жыл бұрын
Thanks 😁😁 sure, you can add as many paths and wildcards there as you like 👍🏻
@sambots223 жыл бұрын
I always enjoy your channel. Great work. Another great work yet to see is editing Todo title with HTMX
@CodeWithStein3 жыл бұрын
Thank you so much :-D I will make more videos with Htmx, so maybe you'll learn that there ;-)
@djtoon8412 Жыл бұрын
i like the way you explained it sounds so clear to anyone.But i need to know how can i add alpinejs to this project.
@CodeWithStein Жыл бұрын
Thanks 😁 the procedure is very similar, just search how to install it on Google 😁
@djtoon8412 Жыл бұрын
@@CodeWithStein ok thannks.can do a tutorila on how to setup with build tools like webpack or vite
@SmartC2007 Жыл бұрын
hey! npm install alpinejs add to the build property "cp node_modules/alpinejs/dist/cdn.min.js static/js/alpine/cdn.min.js" create alpine folder in static/js -> static/js/alpine (in order not to confuse the different js files) npm run build in your base.html (or whatever template you are using) put in the head seaction of the html: and you are all set. :)
@storyofhistory952 жыл бұрын
impressive, I keep waiting for your new video mr heheheh
@CodeWithStein2 жыл бұрын
Great, it's coming tomorrow or friday ;-)
@ermalgashimramori2 жыл бұрын
Great explanations. Thank you very much!
@CodeWithStein2 жыл бұрын
Thanks :-D
@quimmassague19612 жыл бұрын
Thanks! How can you deploy this in Heroku?
@CodeWithStein2 жыл бұрын
I have no idea 😝 never tried heroku 🤷🏼♂️
@darwinsterritory2 жыл бұрын
what do you think about using in place npm, django-tailwind package?
@CodeWithStein2 жыл бұрын
I'm not a huge fan. I know it can save time. But I like to be in control and do things from scratch :P
@darwinsterritory2 жыл бұрын
@@CodeWithStein Понял, спасибо)
@ukaszbielecki65452 жыл бұрын
In my opinion, this is a really good approach (I might be wrong). Without linking to CDN or anything like that. I was looking for something like that. Thank you! But... Can I ask a question? Which approach is best for you? - django-tailwind installed from pip - your way with using npm or - using CDN
@CodeWithStein2 жыл бұрын
I agree! My way with cdn is my favorite. Tailwind using CDN should not be used in production at least ☺️
@24webdevelopment10 ай бұрын
npm run dev gives me an error Missing script: "dev" To see a list of scripts, run: npm run What is the solution?
@CodeWithStein10 ай бұрын
Hey, try npm run start or npm run serve :-)
@masteriq97872 жыл бұрын
THANK YOU SO MUCH ! There is just one thing: I need to run always "npm run watch" after having made some changes.. I followed exactly the video..
@CodeWithStein2 жыл бұрын
You're welcome :-D Hmm, that sounds weird. "npm run watch" is a command that should be running at all times during development :-)
@masteriq97872 жыл бұрын
@@CodeWithStein I dont know, but somehow it does not refresh by itself. Do you have any sources where you found the code?
@CodeWithStein2 жыл бұрын
Okay :-s No, sorry I don't remember where I read about it. Are you sure that the paths to where the watcher is set up is correct? It has to watch the correct template files and folders.
@UsedYourName2 жыл бұрын
lol i love ur accent wallahi
@CodeWithStein2 жыл бұрын
Haha Thanks 😁
@ibrahimoglu3 жыл бұрын
👍
@CodeWithStein2 жыл бұрын
😁
@saolainua44662 жыл бұрын
for those who follow ecommerce project (not multiple vendor) of Stein, the config tailwind is content: ["./**/templates/**/**/*.html"],