0

I am working on angular 5, I want to automate javascript using gulp.js and CSS by using SASS, But I am confused where to put gulp and Sass files in my project folder and how to link them with my app component.

EstevaoLuis
  • 2,422
  • 7
  • 33
  • 40
Abu Bakar
  • 65
  • 1
  • 8
  • are you using angular CLI? – Chris W. Sep 05 '18 at 19:59
  • Yes, I am using angular CLI! – Abu Bakar Sep 05 '18 at 20:19
  • Just [convert to scss](https://stackoverflow.com/questions/40726081/angular-cli-from-css-to-scss) as your style ext and the CLI will take care of what you want for you with ng serve / build. :) – Chris W. Sep 05 '18 at 21:04
  • and what about gulp files? can i reference them as it is in my app component? – Abu Bakar Sep 05 '18 at 21:06
  • 1
    Absolutely, you'll include all that into your angular.json, just give a quick google on Angular CLI scss + gulp and you can set it up for whatever but in reality you'll probably end up just phasing out external gulp stuff all together and let the CLI handle whatever tasks you're using them for. – Chris W. Sep 05 '18 at 21:11
  • okay thank you for your time – Abu Bakar Sep 05 '18 at 21:13
  • 1
    No worries, if you run into specific issues come back and we'll get you sorted. Welcome to SO :) – Chris W. Sep 05 '18 at 21:14

0 Answers0