โ๏ธ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ: To support the channel and encourage new videos, please consider buying me a coffee here: https://ko-fi.com/bugbytes Follow-up video: https://www.youtube.com/watch?v=RkSnBpPh12o In this video, we'll learn how to use Vite in a Django project for bundling static assets. We'll use the django-vite package and will see how to set it up to bundle TailwindCSS v4. ๐ ๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ๐: 00:00 Intro 00:44 Installing django-vite 01:52 Creating Vite config file - vite.config.js 04:50 Installing Vite 08:14 Serving optimised assets with django-vite 12:31 TailwindCSS v4 and django-vite setup 19:39 Setting aliases with Vite 21:30 django-vite in production ๐ฆ๐ผ๐ฐ๐ถ๐ฎ๐น ๐ ๐ฒ๐ฑ๐ถ๐ฎ: ๐ Blog: https://bugbytes.io/posts/ ๐พ Github: https://github.com/bugbytes-io/ ๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป: Django-vite: https://github.com/MrBin99/django-vite Vite: https://vite.dev/ Vite commands: https://vite.dev/guide/cli.html TailwindCSS v4: https://tailwindcss.com/blog/tailwindcss-v4 Tailwind Automatic Detection: https://tailwindcss.com/blog/tailwindcss-v4#automatic-content-detection #python #django #tailwindcss #vitejs