-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Migrating from 2.x to 3.0
uiolee edited this page Apr 7, 2024
·
7 revisions
This doc helps you migrating from 2.x to 3.0. You may be interested in Breaking Changes in Hexo 3.0.
Add hexo
data to package.json
.
{
"hexo": {
"version": ""
}
}
hexo clean
npm install hexo-cli -g
npm install hexo --save
npm install hexo-generator-index --save
npm install hexo-generator-archive --save
npm install hexo-generator-category --save
npm install hexo-generator-tag --save
npm install hexo-server --save
npm install hexo-deployer-git --save
npm install hexo-deployer-heroku --save
npm install hexo-deployer-rsync --save
npm install hexo-deployer-openshift --save
npm install [email protected] --save
npm install [email protected] --save
npm install hexo-generator-feed@1 --save
npm install hexo-generator-sitemap@1 --save
Caution
Attention! This wiki is no longer maintained.
Please visit the official website. https://hexo.io/
Caution
Attention! This wiki is no longer maintained.
Please visit the official website. https://hexo.io/