These are chat archives for AngularClass/angular2-webpack-starter

Feb 2017
Muhammad Ali Makhdoom
Feb 15 2017 09:45
webpack startup is having error
please check
Muhammad Ali Makhdoom
Feb 15 2017 11:51

can you help me with webpack 2 angular 2 ?
I purchased this dashboard..

I want to add DevExtremeModule in it
but I am having issuewith loading fonts inside the css
let me know if you can help

I'm loading DevExteme css files in application.scss
like this

@import '~devextreme/dist/css/dx.common';
@import '~devextreme/dist/css/';
@import '~devextreme/dist/css/dx.light.compact';

its loading and getting css

but inside that dx.light.compact.css file , devExtreme loading its own fonts
but webpack not consider those and I have console error
404 (Not Found)
did you get the issue ?
somehow I want to make url relative which is inside the css file..

@font-face {
font-family: 'DXIcons';
src: url(icons/dxicons.woff) format('woff'), url(icons/dxicons.ttf) format('truetype');
font-weight: normal;
font-style: normal;

A little light will be appreciated ..

Mark Oliver
Feb 15 2017 18:18
Do you have dxicons.ttf where you are specifing it exists in "icons"?