Official blog for Vite Labs
Install hexo
npm install hexo-cli -g
Add new draft
hexo new draft hello-world --lang zh-CN
Publish a draft named "hello-word" (in Chinese)
hexo publish post hello-world --lang zh-CN
Publish a draft named "hello-word" (in English)
hexo publish post hello-world --lang en
Add new post
hexo new post hello-world --lang zh-CN
npm i
npm run dev
Visit localhost:4000/admin
. In the admin page, you can paste your image to editor.
***But you should only use localhost:4000/admin
as a editor. If you want to create post, Please use cli. ***