zoxon / gulp-front

Frontend boilerplate and framework based on gulp, pug, stylus and babel
https://zoxon.github.io/gulp-front
MIT License
262 stars 58 forks source link

Stylus to Sass #52

Closed ngocsangyem closed 6 years ago

ngocsangyem commented 6 years ago

How can i change stylus to sass ?

zoxon commented 6 years ago

Hi, what you do not like stylus? Anyway it's easy, but you lose css framwork.

  1. Replace gulp-stylus to gulp-sass in css.js and update config.
  2. Replace styl to sass in watch.js
  3. Remove or rewrite all stylus files.

Also you can compile stylus to css and use css, or add sass compilation task to gulp.

ngocsangyem commented 6 years ago

thanks for the answer :D

cccr85 commented 5 years ago

You forgot about /tmp/icons-template.styl & /tmp/sprite.styl How to fix this?

zoxon commented 5 years ago

@cccr85 thank you.

If you need sass support for svg icons, please read doc's for gulp-svg-symbols.