V
V
vasIvas2015-08-06 23:05:51
Sass
vasIvas, 2015-08-06 23:05:51

How carefully do you split up your .sass .jade components?

How much do you fragment your components with preprocessors?
I love "more complex languages" very much, in which everything is even supposed to be crushed.
But now I realized that when creating a certain panel, I created as many as four files, like -

.container
.play-button
.pause-button
.main

So I have four .jade and four .sass files. To what extent is it maniacal or vice versa?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey B., 2015-08-06
@vasIvas

I do 1:1, i.e. for one component one style file. Components can have both basic elements, such as buttons, I have them as base-style, and other components (rarely, but there are situations).
The more files you breed, the harder it is to keep track. It's like little children, blinked and they had already fled =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question