2020.7.29 To upgrade to Hexo v5, change the following line in your package.json,
1 2 3 4
package.json
- "hexo": "^4.2.1", + "hexo": "^5.0.0",
然后
1 2 3
npmihexo-cli-g npmupdate hexoversion
5.2. 存在的问题
升级hexo 5.0后,hexo s后,提示:
1 2
INFO Validating config WARN Deprecated config detected: "use_date_for_updated" is deprecated, please use "updated_option" instead. See https://hexo.io/docs/configuration for more details.