How to use Sass in Vite from Scratch

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Simple, but so useful when you start with Vite. Also liked your other video with Tailwind and Vite. Keep it up !

van-dammeromain
Автор

Straight to the point! Excellent, thanks for sharing.

daviddwq
Автор

Thank you! The tutorial is very simple and easy to follow for beginners~~

j_u_d_y
Автор

I've wasted hours trying to get scss to work until I saw you putting the import in a javascript file... how am I supposed to know that? anyway it's working now

rutgerhoutdijk
Автор

This worked great! Thanks for sharing! 😁

nerosonic
Автор

Currently sass is not working with vite react i am facing this issues currently I have also followed vite documentation and tried other 2 solutions also but didn't work and my scss files were not compiled.

vivekmodi
Автор

how can i watch changes, i want to watch converted css file when modife sass file, but vite build doent do that its convert the sasa to css minify version and dont watch change

seghirissam
Автор

Hey man! I just checked out your website and I have a correction to make. In the courses tab, one of the course cards that say "Comming soon" is incorrect. It should be spelled as "Coming" and not "Comming", but yeah, nice tutorial and thanks for making this.

Fizzify
Автор

I have problems with the @use and @import in vite.js.
I can't use @use to import a folder for example @use 'components', I can't use @import with comma and without .scss extension, for example @import 'uno', 'due', 'tre': but I have to write always @import.... why? it's terrible

Viralplace
Автор

Is it possible to use scss files via the rollupOptions.input config? I don't have any entry html/js file, so just working with some assets. It does work fine (including HMR) when using css/js files in that config, but referencing scss files just doesn't seem to work for some reason.

crowstrm
Автор

Broo! Just use GIT BASH, fuck powershell!

zlackbiro
Автор

Very useful tutorial, clear instruction and easy to understand. It would be great if you could give more Laravel tutorial like building some management portal. Thank you so much for this tutorial.

Miubus
Автор

I don't like the directory and file structure. As well as the structure of the finished assembly. I changed everything and described this solution on stackoverflow.
Link to post in base64:

moto_venom