Closed GCheung55 closed 8 years ago
Most of the modules have a dependency on a module in the mixins directory. But those dependencies have to be manually declared.
For example, if I wanted to use bootstrap/carousel, I'd have to write my stylus code like this:
bootstrap/carousel
@require "bootstrap/mixins/gradients" @require "bootstrap/carousel"
It would be very helpful if the dependencies are declared/managed within the module that is being used. With the carousel example above, it just means @require "bootstrap/mixins/gradients" would be declared inside bootstrap/carousel.
@require "bootstrap/mixins/gradients"
+1
To be considered for the BS4 port.
Most of the modules have a dependency on a module in the mixins directory. But those dependencies have to be manually declared.
For example, if I wanted to use
bootstrap/carousel
, I'd have to write my stylus code like this:It would be very helpful if the dependencies are declared/managed within the module that is being used. With the carousel example above, it just means
@require "bootstrap/mixins/gradients"
would be declared insidebootstrap/carousel
.