Skip to content

Commit b58c980

Browse files
committed
Merge branch 'master' of github.com:IBM/carbon-components-angular
2 parents 3bc48fd + e38e185 commit b58c980

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Then we need to include carbon-components in `src/styles.scss`:
1717
@import "~carbon-components/scss/globals/scss/styles.scss";
1818
```
1919

20-
And set up our translations in `src/app/app.module.ts`:
20+
> *Note:* For offline usage we'll need to set `$font-path: '~carbon-components/src/globals/fonts';` at the very top of our `src/styles.scss`. This will copy the fonts to our `dist` folder upon successful build. If you like the fonts to be a part of your `assets` folder and not polute the `dist` folder then copy the fonts from `node_modules/carbon-components/src/globals/fonts` into our app's `src/assets/fonts` folder and add `$font-path: '/assets/fonts/';` at the very top of our `src/styles.scss`.
21+
22+
Then set up our translations in `src/app/app.module.ts`:
2123

2224
```ts
2325
import { BrowserModule } from '@angular/platform-browser';

0 commit comments

Comments
 (0)