Answer the question
In order to leave comments, you need to log in
Ways to organize jade?
For organizing css, there is SMACSS - “scalable and modular architecture for CSS”,
but what is similar for jade?
For example, now I have the following structure:
- app
|__ _common
| |__ layout
| | |__ _header.jade
| | |__ _footerjade
| |
| |__ main.jade
|
|___ index.jade
Answer the question
In order to leave comments, you need to log in
I have all mixins. There are modules that are like building blocks, and there are pages, this is the place where I assemble the page from them
https://github.com/zoxon/gulp-front
It's not very clear what the question is. pug/jade has inheritance, parshials and mixins. What else is needed in order to make a scalable and modular architecture?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question