feat(layout): 菜单支持国际化
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 3m42s
CI/CD Pipeline / build-and-deploy (push) Successful in 4m34s

This commit is contained in:
严浩
2025-10-23 18:15:45 +08:00
parent cec32dceb2
commit 93ecda7617
13 changed files with 76 additions and 23 deletions

View File

@@ -0,0 +1,11 @@
import type { PluginOption } from 'vite';
import { ViteWebfontDownload } from 'vite-plugin-webfont-dl';
export default [
// https://github.com/feat-agency/vite-plugin-webfont-dl?tab=readme-ov-file#-usage-simple-config-method-b-
ViteWebfontDownload([
'https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap',
'https://fonts.googleapis.com/css2?family=Fira+Code&display=swap',
'https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,900',
]),
] satisfies PluginOption;