8000 docs: remove incorrect `src` examples · nuxt/fonts@ca44e0d · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit ca44e0d

Browse files
committed
docs: remove incorrect src examples
1 parent 0dbd2bb commit ca44e0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content/1.get-started/2.configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default defineNuxtConfig({
104104
// only resolve this font with the `google` provider
105105
{ name: 'My Font Family', provider: 'google' },
106106
// specify specific font data - this will bypass any providers
107-
{ name: 'Other Font', src: 'url(https://example.com/font.woff2)', weight: 'bold' },
107+
{ name: 'Other Font', src: 'https://example.com/font.woff2', weight: 'bold' },
108108
]
109109
}
110110
})

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export interface ModuleOptions {
124124
* // only resolve this font with the `google` provider
125125
* { name: 'My Font Family', provider: 'google' },
126126
* // specify specific font data
127-
* { name: 'Other Font', src: 'url(https://example.com/font.woff2)' },
127+
* { name: 'Other Font', src: 'https://example.com/font.woff2' },
128128
* ]
129129
* }
130130
* ```

0 commit comments

Comments
 (0)
0