Skip to content

jerry-vite/vite.blog

Repository files navigation

vite.blog

Official blog for Vite Labs

Start

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

FAQ

How to upload image?

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. ***

About

Official blog for Vite Labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published