Why can't I use prettier extension right after importing partials sass into main sass file? It suddenly breaks! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Why can't I use prettier extension right after importing partials sass into main sass file? It suddenly breaks!

Hey Guys and Gals, I'm coding Sass and the prettier is working all well but when I add partials into main sass file the prettier breaks! Does anybody know the reason? It also happens when I create the new HTML file like about page and contact pages!

21st Jan 2021, 3:47 PM
Saleh Ghazimoradi
Saleh Ghazimoradi - avatar
1 Answer
+ 2
You should format every single document with Prettier and, unfortunately, there isn't a way to format all the document in a single passsage. So you manually have to do it for all files. If it doesn't work, please tell me what is the error's output.
23rd Feb 2021, 9:59 AM
Signor Gatto
Signor Gatto - avatar