css - Compass and SASS on complex project structure -


i'm developing angular application , i'm using following folder structure:

. ├── app │   ├── assets │   │   ├── images │   │   │   ├── brands │   │   │   ├── coletaseletiva │   │   │   ├── quiz │   │   │   └── vidaemlem │   │   │       └── avatars │   │   ├── sass │   │   └── stylesheets │   ├── scripts │   │   └── controllers │   └── views │       └── coleta └── test     └── spec         └── controllers 

this yeoman angular generated project.

the generated css come sass pointing files following path '/app/assets/...', because config in @ project's root.

my server starting app folder, call assets using /assets/...

what should do?

should place config.rb inside of app folder , change assets paths?

my config.rb looks this:

http_path = "/" css_dir = "app/assets/stylesheets" sass_dir = "app/assets/sass" images_dir = "app/assets/images" javascripts_dir = "app/assets/javascripts" relative_assets = true 

you can minify code "grunt" or "grunt --force". think there no issues.

if still got issue of images . try set path ../images/image.png [if image folder in parent folder] or ./images/image.png [if image folder in same folder].


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -