Zurb Foundation Fehler: Kein Mixin namens Panel - Sass, Paket, Zurb-Foundation

Auf "foundation": "5.3.0", Warum produziert das Folgende error: no mixin named panel wenn der Sass zusammengestellt wird (via Schluck-Sass)?

//#app.scss
@import "foundation/scss/normalize.scss";
@import "foundation/scss/foundation.scss";
@import "foundation/scss/foundation/functions"
@import "purveyor/p.scss";

//#p.css
.content-box {
@include panel();
}

Scheint so, als würde ich etwas importieren, aber was?

vielleicht auch wert:

//# foundation/scss/foundation.scss
@import
"foundation/components/grid",
"foundation/components/accordion",
"foundation/components/alert-boxes",
"foundation/components/block-grid",
"foundation/components/breadcrumbs",
"foundation/components/button-groups",
"foundation/components/buttons",
"foundation/components/clearing",
"foundation/components/dropdown",
"foundation/components/dropdown-buttons",
"foundation/components/flex-video",
"foundation/components/forms",
"foundation/components/icon-bar",
"foundation/components/inline-lists",
"foundation/components/joyride",
"foundation/components/keystrokes",
"foundation/components/labels",
"foundation/components/magellan",
"foundation/components/orbit",
"foundation/components/pagination",
"foundation/components/panels", //<--- shouldn"t this be providing the mixin?
"foundation/components/pricing-tables",
"foundation/components/progress-bars",
"foundation/components/range-slider",
"foundation/components/reveal",
"foundation/components/side-nav",
"foundation/components/split-buttons",
"foundation/components/sub-nav",
"foundation/components/switches",
"foundation/components/tables",
"foundation/components/tabs",
"foundation/components/thumbs",
"foundation/components/tooltips",
"foundation/components/top-bar",
"foundation/components/type",
"foundation/components/offcanvas",
"foundation/components/visibility";

Antworten:

2 für die Antwort № 1

Wie erklärt HierSass kompiliert jede gesuchte .scss-Datei wenn es nicht mit einem Unterstrich beginnt also wenn es findet p.scss es kompiliert es in Abwesenheit der anderen importierten Namen. Der Fix änderte den Namen der Datei in _p.scss


Am beliebtesten