tmaximini / ionic-gulp-seed

A starting point for Ionic Apps
74 stars 20 forks source link

external css #16

Closed DrSensor closed 8 years ago

DrSensor commented 8 years ago

How to add external css resource ?

byronalfonso commented 8 years ago

My recommendation is you create a sass file module for example module.scss and include/import it on the main.scss file (found in app/styles). After you have imported the styles you want, you can run "gulp styles" on the cli and everything will automatically compile to www/styles/main.css

note* you can find "styles" task on line 77 of gulpfile.js

tmaximini commented 8 years ago

:+1: what @byronalfonso said basically. main.scss takes care of all the imports. just save your external .css file as .scss and import it there.

DrSensor commented 8 years ago

Thanks, i've just realized it can be renamed to .scss.