insin / insin/react-octicon

Octoicons not loaded

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
71
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I installed the library and configured webpack according to documentation. But if I try to use the icon, what I see is,

screenshot 2016-10-12 16 23 44

The code,

``` jsx




```

Webpack.js

``` js
module: {
loaders: [ {
test: /\.js$/,
loaders: [ 'babel' ],
exclude: /node_modules/
}, {
test: /\.(css|scss)$/,
loader: 'style!css?sourceMap!sass?sourceMap'
}, {
test: /\.(png|jpg|gif)$/,
loader: 'file-loader?name=images/[name].[ext]'
}, {
test: /\.(otf|eot|svg|ttf|woff|woff2).*$/,
loader: 'url?limit=8192'
} ]
},
```

I tried both,

``` js
import 'octicons/octicons/octicons.css';
```

And in `scss`

``` scss
@import 'octicons/octicons/octicons.css';
```

Nothing helps.

I don't understand how your library is actually loading octicons styles. Neither lib or demo app loads it. How should it work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.