foundation-icons

Foundation Icon Fonts 3

Usage no npm install needed!

<script type="module">
  import foundationIcons from 'https://cdn.skypack.dev/foundation-icons';
</script>

README

Foundation Icons needed an npm module. Why they don't have one is beyond me.

Usage

npm install foundation-icons

Install Webpack loader

npm install url-loader
npm install file-loader

Configure The WebPack Loaders

module.exports = {
  module: {
    loaders: [
      // the url-loader uses DataUrls.
      // the file-loader emits files.
      { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000&mimetype=application/font-woff" },
      { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file-loader" }
    ]
  }
};