0
我想在玉環中使用環。我已經在下面的代碼中指出了問題的出現位置。 問題是我想讓班級名稱爲「thumb-unit-1」,「thumb-unit-2」等等。 但編譯後,我將類名稱命名爲「thumb-unit - #{i + 1}」。 我正在使用崇高文本3.而對於編譯器,我正在使用prepros。玉環中的錯誤
-var work = ["Typo International Design Talks", "city-in website concept", "crispy icons", "flat mobile ui/ux concept", "fresh it up", "timeline page", "weather dashboard", "stripes & co"]
-for (var i=0; i<8; i++){
a(href="",class="thumb-unit-#{i+1}") //problem here
div(class="thumb-overlay")
strong #{work[i]}
-}