Adding SASS with ionic setup sass
I am trying to add SASS support to an existing project generated by generator-ionic. When I run the ionic setup sass command I get an error saying "No gulpfile found".
@amartin007 This project uses grunt, not gulp. Can you post the command you're running? My guess is that you're following instructions that assume you're using the ionic-cli and not the grunt build configuration that is provided in this generator. If you post the exact command then I can confirm for you.
I have the same issue with generator-ionic (is using grunt) to build project. when I runt the 'ionic setup sass' command, CLI saying "No gulpfile found"...
The project's app/index.html line 15 incorrectly says :
<!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
<link href="styles/ionic.app.css" rel="stylesheet">
-->
I'm holding off on manually setting up sass / grunt watch ionic's sass files for now until I hear thats the only way to resolve this.
I just ran in to this problem, to solve it I did the following:
<link href="styles/ionic.app.css" rel="stylesheet">
to
<link href="styles/main.css" rel="stylesheet">
@LunarDevelopment Same issue, its incorrect/confusing in doc.
@jimthedev can you help us in understanding <!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above -->?
Can you guid us how to use sass after scaffolding the project?
Thanks!!