File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,16 @@ $ cd my-project
1111$ npm i --save-dev carbon-components-angular carbon-components @ngx-translate/core
1212```
1313
14- Then we need to include carbon-components in ` src/styles.scss ` :
14+ Then we need to include carbon-components in ` src/styles.scss ` and set our fonts path :
1515
1616``` scss
17+ $font-path : ' /assets/fonts/' ;
1718@import " ~carbon-components/scss/globals/scss/styles.scss" ;
1819```
1920
20- And set up our translations in ` src/app/app.module.ts ` :
21+ And copy the fonts files from ` node_modules/carbon-components/src/globals/fonts ` into our app's ` assets/fonts ` folder.
22+
23+ Then set up our translations in ` src/app/app.module.ts ` :
2124
2225``` ts
2326import { BrowserModule } from ' @angular/platform-browser' ;
You can’t perform that action at this time.
0 commit comments