升级到 v1
v1.0 版本变更与升级指南.
在博客文章中了解有关 v1.0 变更的更多信息.
升级到最新版本的 shadcn-docs-nuxt
向 Nuxt 配置添加 i18n
nuxt.config.ts
在 i18n 属性中设置 defaultLocale 和 locales 为你偏好的语言环境. 这用于界面语言.
当前支持的界面语言有:
en(English)fr(Français)it(Italiano)zh-CN(简体中文)zh-TW(繁體中文)ja(日本語)km(ភាសាខ្មែរ)ru(Русский)ko(한국어)hi(हिन्दी)bn(বাংলা)es(Español)
如果你想添加更多的界面语言, 欢迎为该项目贡献.
更新 Tailwind CSS
assets/css/tailwind.css
If you want help upgrading, you can join the Discord Server and post in the 🔼・upgrade channel or DM me on Bluesky with a link to your project. I will do my best to answer questions / send PRs to help with the process.