tmaximini / ionic-gulp-seed

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

Support for loading bower CSS librairies #10

Closed benjbdev closed 9 years ago

benjbdev commented 9 years ago

I would like to say first : Good job ;) There is any way to inject in index.html css components like font-awesome ? Thanks !

benjbdev commented 9 years ago

vendor.json only working for scripts, maybe it's possible to add a "vendor-styles.json" to the gulpfile ?

tmaximini commented 9 years ago

hi @benjaminb- the way I deal usually with 3rd party scripts is to copy over files, e.g. into app/styles/lib and then @import them into my main .scss file. you just need to copy over the actual fonts also into app/fonts and change the extension from .css to .scss - a bit of manual work but it is usually pretty straight forward. You could definitely also create another .json file with a list and stream/compile them into the build, but that would involve some adjustments on the gulp job. let me know if the first approach works for you.

benjbdev commented 9 years ago

thanks i will try !