Guillaume Guillaume - 10 months ago 248
CSS Question

Include 3rd party css in ionic2

How to include a 3rd party css in ionic2? I guess it is probably linked to webpack config but I can't find any example anywhere, does someone know? for example, adding

css file after
npm install font-awesome


For those who are interested in this, you can just add the files in the build process in the ionic.config.js like:

module.exports = {
    sass: {
        src: [
        dest: 'www/build/css',
        include: [
      fonts: {
          src: [
          dest: 'www/build/fonts'

This will compile font-awesome.css under www/build/css and fonts under www/build/fonts