Closed marinho closed 7 years ago
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.
To me, that seems a bug in sc5-styleguide.
Thank you. This was a bug. It's fixed here https://github.com/SC5/sc5-styleguide/pull/1031 Please wait for the pull request to be merge and for the next release.
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.