Answer the question
In order to leave comments, you need to log in
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"
@import "**/*"
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question