Skip to content

Commit

Permalink
fix types of astro-i18next
Browse files Browse the repository at this point in the history
  • Loading branch information
bowencool committed Mar 17, 2024
1 parent f2c69b8 commit 5298ae7
Show file tree
Hide file tree
Showing 8 changed files with 7,728 additions and 14,830 deletions.
5 changes: 2 additions & 3 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@

## 已知问题

1. astro-i18next 类型报错
2. `public/locales` 暂不支持热更新,移动到 src 目录下也许有用。
3. 本地开发时经常出现文章的多语言版本与网站设置对应不上,打开对应文件进行一次修改保存触发热更新即可,生产环境无此问题。
1. `public/locales` 暂不支持热更新,移动到 src 目录下也许有用。
2. 本地开发时经常出现文章的多语言版本与网站设置对应不上,打开对应文件进行一次修改保存触发热更新即可,生产环境无此问题。
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ What are the differences compared to AstroPaper?

## Known Issues

1. astro-i18next type error
2. `public/locales` does not support hot reloading for now, moving it to the src directory might be helpful.
3. When developing locally, it's common that the multilingual versions of articles do not match the website settings. Opening and making a modification to the corresponding file to trigger hot reloading can solve this issue; this problem does not exist in production environments.
1. `public/locales` does not support hot reloading for now, moving it to the src directory might be helpful.
2. When developing locally, it's common that the multilingual versions of articles do not match the website settings. Opening and making a modification to the corresponding file to trigger hot reloading can solve this issue; this problem does not exist in production environments.
Loading

0 comments on commit 5298ae7

Please sign in to comment.