You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just created my own project copying the files package.json and gulpfile.js from sc5-styleguide-tutorial.
The styleguide is generated alright, including sg-insert and basic KSS support, but when sg-wrapper is completely ignored. No errors. Just the built styleguide renders the markup without wrapping HTML.
Funny that I couldn't see any difference between my code and sc5-styleguide-tutorial, but sc5-styleguide-tutorial generates atoms.scss correctly with sg-wrapper.
Here is the gist of gulpfile.js and one of my scss files:
I noticed that sc5-stylesheet version was quite outdated in sc5-stylesheet-tutorial. So I replaced my gulp.js by the example provided in the README.md file, as in the gist below. But the issue with sg-wrapper still happens.
Ooh, I found why: the KSS notation had a white space after the double slash comment just above sg-wrapper, as below:
// </header>
// <--- here
// sg-wrapper:
Curious that it seems KSS itself doesn't prohibit that, and the other spacings between other sections such as Title and Description, Stylesheet, etc. are fine and accepted.
I am a beginner in sc5-styleguide.
I've just created my own project copying the files
package.json
andgulpfile.js
from sc5-styleguide-tutorial.The styleguide is generated alright, including
sg-insert
and basic KSS support, but whensg-wrapper
is completely ignored. No errors. Just the built styleguide renders the markup without wrapping HTML.Funny that I couldn't see any difference between my code and sc5-styleguide-tutorial, but sc5-styleguide-tutorial generates
atoms.scss
correctly with sg-wrapper.Here is the gist of
gulpfile.js
and one of my scss files:Update
I noticed that sc5-stylesheet version was quite outdated in sc5-stylesheet-tutorial. So I replaced my
gulp.js
by the example provided in theREADME.md
file, as in the gist below. But the issue withsg-wrapper
still happens.The text was updated successfully, but these errors were encountered: