Answer the question
In order to leave comments, you need to log in
How to store data separately in pug?
In general, I use the following structure:
├── src
│ ├── components
│ ├── article-item
│ ├── article-item.pug
│ ├── article-item.scss
│ ├── news-item
│ ├── news-item.pug
│ ├── news-item.scss
├── src
│ ├── components
│ ├── article-item
│ ├── article-item.pug
│ ├── article-item.scss
│ ├── article-item.json
│ ├── news-item
│ ├── news-item.pug
│ ├── news-item.scss
│ ├── news-item.json
Answer the question
In order to leave comments, you need to log in
gulp-data
But this is not a panacea - I connected everything in a bunch.
This is where brains need to be applied. If you can do it, everything will be great.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question