- Add i18next and related dependencies for internationalization - Implement language switcher component with English and Chinese support - Create translation files for English and Chinese locales - Update login and home pages to use translations - Configure i18n initialization with language detection - Add dayjs locale synchronization with i18n language changes - Update tsconfig and eslint to ignore new locales directory - Remove unused App.css and simplify index.css - Update npmrc with mirror configuration
7 lines
307 B
Plaintext
7 lines
307 B
Plaintext
|
|
engine-strict=true
|
|
# 将 npm 源设置为淘宝镜像
|
|
registry=https://registry.npmmirror.com/
|
|
# 为 Yarn 和 pnpm 设置相同的镜像源(确保一致性)
|
|
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
|
|
ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ |