feat: Add font loading functionality for multi-language support and preload base font

This commit is contained in:
2026-02-06 14:09:22 +08:00
parent 9e61734e25
commit 2d2c4e9f98
7 changed files with 175 additions and 26 deletions

View File

@@ -3,6 +3,9 @@ import { createRoot } from 'react-dom/client'
import './locales'
import './index.css'
import App from './App.tsx'
import { preloadBaseFont } from './lib/fontManager'
preloadBaseFont()
createRoot(document.getElementById('root')!).render(
<StrictMode>