I
I
Ilya2014-01-29 20:28:59
HTML
Ilya, 2014-01-29 20:28:59

How to import all files from a folder in Jade or Stylus?

Hello. Does anyone know how to import all jade or stylus files from a folder?
The order of import is not important.
Tired of manually importing each file. I would like it instead:

@import "a/a"
@import "b/b"
@import "c/c"

...was something like this:
@import "**/*"
If anyone knows how to do this for Stylus or Jade, please tell me. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
snackovich, 2014-01-29
@Slasher

I would make an
index (index.jade) file where I connected all the files of the directory (it can be generated, let's say grunt)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question