Skip to content

Commit

Permalink
chore(playground): fix custom font path
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Feb 22, 2024
1 parent 0c32d01 commit 5d77a7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineNuxtConfig({
{ name: 'Abel', provider: 'bunny' },
{ name: 'Satoshi', provider: 'fontshare' },
{ name: 'Kode Mono', provider: 'none' },
{ name: 'MyCustom', src: '/font.woff2' },
{ name: 'MyCustom', src: '/custom-font.woff2' },
{ name: 'CustomGlobal', global: true, src: '/font-global.woff2' },
{ name: 'Oswald', fallbacks: ['Times New Roman'] },
],
Expand Down
2 changes: 1 addition & 1 deletion playground/pages/overrides.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
Local font
Local font (/custom-font.woff2)
</div>
</template>

Expand Down

0 comments on commit 5d77a7d

Please sign in to comment.