-
Notifications
You must be signed in to change notification settings - Fork 8
Octoicons not loaded #4
Copy link
Copy link
Open
Description
I installed the library and configured webpack according to documentation. But if I try to use the icon, what I see is,
The code,
<td>
<Octicon name="triangle-down" />
<Octicon name="triangle-up" />
</td>Webpack.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,
import 'octicons/octicons/octicons.css';And in 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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
