Closed derkmdt closed 9 years ago
kss-node doesn't generate CSS from Less (or Sass). Strictly speaking, kss-node had compilation feature in 1.x but now it doesn't. - https://github.com/kss-node/kss-node/issues/83
We have to compile CSS by ourselves if we need the generated CSS in the style guide.
$ lessc demo/src/bootstrap.less demo/dist/bootstrap.css
$ kss-node demo/src demo/dist --template template --css bootstrap.css
In this project, I'm planning to automate these tasks using npm scripts or gulp.
Thx for the quick reply! Maybe add that to the README.md :)
Keep up the good work!
My pleasure! Good. I will describe how to generate the demo in the next version.
--css filename.css is not adding anything to me? any clue about it?
Hi Hiroyuki,
I need some help with the initial demo run :) I did a "npm install" from the template directory. And followed that one up with "kss-node demo/src demo/dist --template template --css bootstrap.css" also tried "kss-node demo/src --template template" . Have no errors in the cli. But the "style.css" or "bootstrap.css" is not generated. This also happens when I run the original kss demo in the "node_modules" kss package. Any Idea? I have the latest version, also did a npm update. Thx!