Guillaume Guillaume - 1 year ago 396
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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download