Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 1.9 KB

README_en.md

File metadata and controls

80 lines (54 loc) · 1.9 KB

vuepress valine element-ui

中文文档|English

vuepress: 1.3.1

Quick Start

git clone https://github.com/hirCodd/vuepress-blog.git

Local Development

yarn install // install lib
yarn dev // run dev

Local Demo

If you see next code:

VuePress dev server listening at http://localhost:8080/

Open Browser, get this addrss: localhost:8080

Remote Demo

demo

Develop

If you want to develop this blog, you can fork or clone this project.

Function

  • Archives
  • Tags Cloud
  • Simple Categories

Comments

Comment1: Valine.js

Valine.js

Comment2: gittalk

Gittalk

Comment3 gitment

Gitment

this code on the directory: `.vuepress/theme/components/Comments.vue`,yan can use gittalk or gitment easily.

Forbid Comment

on the xx.md, you can config these properties

    ---
    title: git
    comments: true or false 
    post: true //archives or tags: true
    tags:
      - xxx
    date: 2019/03/21 11:24:30
    ---

    if (element.frontmatter.post == true) {} // archives
    if (element.frontmatter.post == true && element.frontmatter.tags.includes(tag)) {} // tags

vuePress-Document

Vuepress

Valine.js-Document

Valine.js

Browser Support

Most browsers(Firefox,Chrome...)

LiCENSE

MIT