• Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    Quick Start

    Create a new post

    $ hexo new "My New Post"

    avatar
    avatar
    More info: Writing

    Run server

    npm install hexo-generator-search --save

    可以在配置文件中设置默认样式,为简单的一句话提供最的简便写法。

    search:
      path: search.xml
      field: post
    {
      "gitHooks": {
        "pre-commit": "lint-staged"
      },
       "lint-staged": {
        "*.{js,vue}": [
          "vue-cli-service lint",
          "git add"
        ]
      }
    }
    // babel.config.js
    module.exports = {
      presets: [
        ['@vue/app', {
          polyfills: [
            'es.promise',
            'es.symbol'
          ]
        }]
      ]
    }

    这是一段文字哦
    test

    $ hexo server

    More info: Server

    Generate static files

    $ hexo generate

    More info: Generating

    Deploy to remote sites

    $ hexo deploy

    More info: Deployment

    上一篇:
    Hello World13
    下一篇:
    Hello World6
    本文目录
    本文目录