Skip to content

Commit aa07eff

Browse files
bengineer19kevinmarrec
authored andcommitted
docs: add some small details about fonts (#234)
1 parent b30f5db commit aa07eff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ Here are the accepted values for this option :
129129
130130
Please refer to [Vuetify Icons documentation](https://vuetifyjs.com/en/customization/icons) for more information about icons, notably for using only bunch of SVG icons instead of including all icons in your app.
131131

132-
You can also set the whole `defaultAssets` option to `false` to prevent any automatic add of these two assets.
132+
You can also set the whole `defaultAssets` option to `false` to prevent any automatic add of these two assets.
133+
You can read more about adding your own assets in the [Offline applications](https://github.com/nuxt-community/vuetify-module#offline-applications) section.
133134

134135
### `optionsPath`
135136

@@ -217,7 +218,7 @@ If you're building an application that will need to work offline (more likely a
217218

218219
It means you must set [`defaultAssets`](#defaultAssets) option to `false`.
219220

220-
For fonts, you may leverage CSS [**@font-face**](https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp) rule with local path of your fonts.
221+
For fonts, you may leverage CSS [**@font-face**](https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp) rule with local path of your fonts. You may find the [google webfonts helper](https://google-webfonts-helper.herokuapp.com/fonts/roboto?subsets=latin) site useful for generating **@font-face** rules and sourcing replacement files for the default CDNs.
221222

222223
For icons, you can either use the same way than above, or leverage tree-shaken SVG libraries like [**Material Design Icons SVG**](https://github.com/Templarian/MaterialDesign-JS) or [**Font Awesome 5 SVG**](https://fontawesome.com/how-to-use/on-the-web/advanced/svg-javascript-core).
223224

0 commit comments

Comments
 (0)