yeoman / generator-angular

Yeoman generator for AngularJS

Home Page:http://yeoman.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

css files in styles folder are not getting included in the index.html

sefasenturk95 opened this issue · comments

Hi,

When I add css files to the styles folder of my generated workspace and execute the grunt serve command the styles are not getting included. The only style that gets included is the main.css . How can I fix this? The settings and Gruntfile are just like how they came, did not change anything.

Thanks in advance.

The whole module needs updating

@Khaleel What do you mean?

Are you place these between the bower elements too? Can I see the code structure and config files?

I placed the login.css in my index.html manually. So my question is; why doesn't it get auto imported after running grunt serve?

@Sef1995
You should have installed ruby and compass, try this:
brew install ruby
sudo gem update --system
sudo gem install compass
and then
grunt serve

@AndyTek I tried it but doesn't fix the issue. The css still doesn't get auto imported by grunt into the index.html

You need to change it to look in the app folder and not just the .tmp folder.
<!-- build:css({.tmp,app}) styles/main.css -->