We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0343332 commit 133b9fdCopy full SHA for 133b9fd
example/package.json
@@ -6,9 +6,9 @@
6
"build": "vite build"
7
},
8
"dependencies": {
9
- "vite-fonts": "workspace: *"
+ "vite-plugin-fonts": "workspace: *"
10
11
"devDependencies": {
12
"vite": "^2.0.0-beta.5"
13
}
14
-}
+}
example/vite.config.ts
@@ -1,15 +1,12 @@
1
import { defineConfig } from 'vite'
2
-import ViteFonts from "vite-fonts";
+import ViteFonts from 'vite-plugin-fonts';
3
4
export default defineConfig({
5
plugins: [
ViteFonts({
google: {
families: ['Crimson Pro', 'Open Sans'],
- typekit: {
- id: 'glm4yoq',
- }
})
]
15
0 commit comments