Which one is the best practice with sass import with multiple @import and single @import statement? -


i newbie sass , see documents use multiple @import statement , use single @import statement. 1 best practice or same?

first way

@import "components/utilities", "components/header", "components/navigation", 

second way

@import "components/utilities"; @import "components/header"; @import "components/navigation"; 

the second way better , more conventional approach. lot of big frameworks bootstrap using way. seems way go. ;)


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -