Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

got error when i use custom fonts in ngx-admin

ERROR in ./src/app/@theme/styles/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/app/@theme/styles/styles.scss) Module Error (from ./node_modules/postcss-loader/lib/index.js): (Emitted value instead of an instance of Error) CssSyntaxError: D:\developer\ngx-admin\node_modules\vazir-font\dist\font-face.css:7:7: Can't resolve 'Vazir.ttf' in 'D:\developer\ngx-admin\src\app@theme\styles'

5 | url('Vazir.woff2') format('woff2'), 6 | url('Vazir.woff') format('woff'),

7 | url('Vazir.ttf') format('truetype'); | ^ 8 | font-weight: normal; 9 | }

Comments