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
Post a Comment