V
V
Vadim Belkin2015-06-09 12:30:56
gulp.js
Vadim Belkin, 2015-06-09 12:30:56

How to make shared variables for JADE and LESS?

Is it possible to make shared variables for JADE and LESS? Some file with variables whose values ​​can be used in JADE and in LESS. I would like to make the naming of some classes through variables, so that when the name is changed, it will change both in styles and in layout.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maksim Zverev, 2015-06-10
@m1skam

I have not seen the solution that you want, and I do not quite understand why.
What you want in general should be decided by refactoring, unfortunately in phpstorm (which I use) jade is very poor :( there is essentially only syntax highlighting and auto-completion, but alas, switching between classes and renaming classes does not work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question