Code Monkey home page Code Monkey logo

vite.blog's Introduction

vite.blog

Official blog for Vite Labs

Start

clone project and clone submodule

git clone https://github.com/vitelabs/vite.blog.git --recursive

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.

Please make sure the image filename is unique.

But you should only use localhost:4000/admin as a editor. If you want to create post, Please use cli.

vite.blog's People

Contributors

viteshan avatar charles-liu avatar jerry-vite avatar roymoro avatar

Stargazers

移动开发小冉 avatar mister_chen avatar Nate Wong avatar Snaker avatar OSdio avatar kaidiren avatar  avatar  avatar  avatar Bonita V avatar ghosthuhu avatar  avatar  avatar

Watchers

James Cloos avatar  avatar OSdio avatar  avatar  avatar  avatar Bonita V avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.