Vuepress Blog Save

:octocat: vuepress build a simple page blog with tag and archives,love it,please fork or give a star.

Project README

vuepress valine element-ui

中文文档|English

vuepress版本为1.3.1

欢迎使用主题vuepress-theme-tassel

快速开始

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

运行项目

yarn install //安装依赖
yarn dev //运行

本地演示

如果看到下面这行即说明开发运行正常

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

打开浏览器,输入localhost:8080即可访问

demo

demo

开发

如果您想用该项目部署您自己的blog,请fork本项目,然后clone到您本地即可更改。如果您懂vue.js,那您可以自己开发一部分插件。

已完成功能

  • Archives
  • Tags Cloud
  • Simple Categories

评论功能

评论工具1 Valine.js

Valine.js使用方法

评论工具2 gittalk

Gittalk

评论工具3 gitment

Gitment

代码已经写好,在`.vuepress/theme/components/Comments.vue`中,依照网上配置可以很轻松使用Gitment或者Gittalk。

禁止评论

很多情况的页面都不想被评论,所以在每篇文档开头设置即可!如下:

    ---
    title: git 进阶操作命令
    comments: true or false // true: 可以评论,false: 禁止评论
    post: true //是否作为archives或者tags的列表,true: 作为 false:禁止
    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官网文档

Vuepress文档

Valine.js食用方法

Valine.js文档

浏览器支持

Most browsers(Firefox,Chrome等)

LiCENSE

MIT

Open Source Agenda is not affiliated with "Vuepress Blog" Project. README Source: moremind/vuepress-blog
Stars
47
Open Issues
7
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating