Hanye官网
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # Nuxt Minimal Starter
  2. Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
  3. ## Setup
  4. Make sure to install dependencies:
  5. ```bash
  6. # npm
  7. npm install
  8. # pnpm
  9. pnpm install
  10. # yarn
  11. yarn install
  12. # bun
  13. bun install
  14. ```
  15. ## Development Server
  16. Start the development server on `http://localhost:3000`:
  17. ```bash
  18. # npm
  19. npm run dev
  20. # pnpm
  21. pnpm dev
  22. # yarn
  23. yarn dev
  24. # bun
  25. bun run dev
  26. ```
  27. ## Production
  28. Build the application for production:
  29. ```bash
  30. # npm
  31. npm run build
  32. # pnpm
  33. pnpm build
  34. # yarn
  35. yarn build
  36. # bun
  37. bun run build
  38. ```
  39. Locally preview production build:
  40. ```bash
  41. # npm
  42. npm run preview
  43. # pnpm
  44. pnpm preview
  45. # yarn
  46. yarn preview
  47. # bun
  48. bun run preview
  49. ```
  50. Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
  51. ## 字体本地化指南
  52. 本项目使用了以下Google字体,并已进行本地化以提高性能和兼容性:
  53. - Roboto
  54. - M PLUS 1p
  55. ### 如何更新字体文件
  56. 1. 下载字体文件:
  57. - 访问 https://fonts.google.com/ 搜索并下载需要的字体
  58. - 或直接使用这些链接:
  59. - Roboto: https://fonts.google.com/download?family=Roboto
  60. - M PLUS 1p: https://fonts.google.com/download?family=M+PLUS+1p
  61. 2. 转换为WOFF2格式
  62. - 使用在线转换工具如 https://transfonter.org/ 或 https://cloudconvert.com/ttf-to-woff2
  63. - 或使用字体工具如 `fonttools`:`pip install fonttools brotli` 然后运行 `python -m fontTools.ttLib.woff2 compress 字体文件.ttf -o 字体文件.woff2`
  64. 3. 放置文件
  65. - 将转换后的WOFF2文件放入对应的 `public/fonts/[字体名称]` 目录中