Giter Club home page Giter Club logo

hexo-site-kit's Introduction

vuepress更好用,推荐大家使用:https://github.com/vuejs/vuepress

hexo-site-kit

基于Hexo快速搭建项目官网及文档平台。效果见:younth#1

安装依赖

1. 全局安装 hexo-cli

npm i -g hexo-cli --registry=https://registry.npm.taobao.org

2. 安装项目依赖

npm i --registry=https://registry.npm.taobao.org

查看效果

hexo s

开发

hexo n "My New Post"
hexo s
hexo s -g // 预览加部署
hexo d -g // hexo g && hexo d 生成及部署

切换主题

修改_config.yml 里面的 theme。目前提供两种主题:

  • docs: 基于 egg 官网改造
  • navy: 基于 hexo 官网改造

切换主题的时候,务必先执行 hexo clean 清空之前的编译缓存

hexo-site-kit's People

Contributors

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