A
A
Alexey Demin2014-12-15 14:20:34
css
Alexey Demin, 2014-12-15 14:20:34

How to use wildcard in sass?

Hello! We urgently need to figure it out, Google did not give an answer from the fly. I haven't used sass before.
the topic has a construction
@import "variables/**/*";
and sass watch swears like

>>> Change detected to: sass/rv.styles.scss
      error sass/rv.styles.scss (Line 19: File to import not found or unreadable: variables/**/*.
Load path: D:/its/jet/rv/rv/sass)

how to win it? Thanks in advance for your replies!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Dubovskoy, 2014-12-15
@alexd73

Need sass-globbing gem.
docs.mixture.io/globbing
1. Add require 'sass-globbing' to config.rb.
2. Do gem install sass-globbing . Or bundle install in the theme folder.

S
storm1969, 2014-12-15
@storm1969

Just write import "style"; without vaiabels/**/**
According to the last folder...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question